Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.MaxwellLoop,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 195.9 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.248/1.248, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04314/0.04314, allocations: 9.089 MB / 278.4 MB, free: 12.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 71.83 kB / 337.5 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09817, allocations: 48.15 MB / 385.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.MaxwellLoop): time 0.0172/0.1154, allocations: 17.76 MB / 403.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1181, allocations: 2.563 MB / 405.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.1182, allocations: 0 / 405.9 MB, free: 5.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007344/0.1189, allocations: 351.6 kB / 406.3 MB, free: 4.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.1243, allocations: 2.645 MB / 408.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.553e-05/0.1244, allocations: 11.98 kB / 408.9 MB, free: 2.172 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1246, allocations: 187 kB / 409.1 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.1246, allocations: 17.5 kB / 409.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1248, allocations: 87.52 kB / 409.2 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.1248, allocations: 59.66 kB / 409.3 MB, free: 1.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1249, allocations: 4 kB / 409.3 MB, free: 1.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006858/0.1317, allocations: 5.828 MB / 415.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.1318, allocations: 19.84 kB / 415.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.984e-05/0.1318, allocations: 59.67 kB / 415.2 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.135, allocations: 2.642 MB / 417.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.135, allocations: 0 / 417.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.135, allocations: 0 / 417.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.135, allocations: 0 / 417.8 MB, free: 9.25 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001003/0.1361, allocations: 0.6627 MB / 418.5 MB, free: 8.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1361, allocations: 8.031 kB / 418.5 MB, free: 8.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.1361, allocations: 50.55 kB / 418.5 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.1363, allocations: 31.8 kB / 418.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1364, allocations: 198.6 kB / 418.8 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/0.1364, allocations: 0 / 418.8 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1364, allocations: 7.984 kB / 418.8 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.1367, allocations: 155.3 kB / 418.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1367, allocations: 0 / 418.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1368, allocations: 0 / 418.9 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1368, allocations: 7.984 kB / 418.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.1372, allocations: 196.2 kB / 419.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.1374, allocations: 266.5 kB / 419.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.1377, allocations: 178.7 kB / 419.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.138, allocations: 169.1 kB / 419.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1504/0.2884, allocations: 10.94 MB / 430.7 MB, free: 44.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.2885, allocations: 32.39 kB / 430.7 MB, free: 44.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.2885, allocations: 1.219 kB / 430.7 MB, free: 44.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009503/0.2894, allocations: 460.8 kB / 431.1 MB, free: 44.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.2895, allocations: 54 kB / 431.2 MB, free: 44.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2896, allocations: 129.6 kB / 431.3 MB, free: 44.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.2896, allocations: 31.14 kB / 431.4 MB, free: 44.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.2897, allocations: 87.62 kB / 431.4 MB, free: 43.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.915e-05/0.2898, allocations: 110.5 kB / 431.6 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.2899, allocations: 28.83 kB / 431.6 MB, free: 43.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.2899, allocations: 327.5 kB / 431.9 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.2902, allocations: 117.9 kB / 432 MB, free: 43.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.2904, allocations: 129.3 kB / 432.1 MB, free: 43.45 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.2909, allocations: 291.8 kB / 432.4 MB, free: 43.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2909, allocations: 0 / 432.4 MB, free: 43.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005986/0.2915, allocations: 335.4 kB / 432.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2915, allocations: 8.281 kB / 432.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2915, allocations: 5.375 kB / 432.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2916, allocations: 0.6562 kB / 432.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.2917, allocations: 18.36 kB / 432.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2917, allocations: 2.844 kB / 432.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2918, allocations: 21.55 kB / 432.8 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2919, allocations: 3.844 kB / 432.8 MB, free: 43.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.419e-05/0.292, allocations: 126.2 kB / 432.9 MB, free: 43.03 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.292, allocations: 14.11 kB / 432.9 MB, free: 43.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.2926, allocations: 370.3 kB / 433.3 MB, free: 42.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.2926, allocations: 6.531 kB / 433.3 MB, free: 42.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2926, allocations: 0 / 433.3 MB, free: 42.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2927, allocations: 4.375 kB / 433.3 MB, free: 42.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.2928, allocations: 275.4 kB / 433.6 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2929, allocations: 1.125 kB / 433.6 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.293, allocations: 18.86 kB / 433.6 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.293, allocations: 0 / 433.6 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.293, allocations: 4.203 kB / 433.6 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.293, allocations: 4.219 kB / 433.6 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.293, allocations: 0.5625 kB / 433.6 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.2935, allocations: 374 kB / 434 MB, free: 42.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.2936, allocations: 104.4 kB / 434.1 MB, free: 42.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.2936, allocations: 1.844 kB / 434.1 MB, free: 42.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2938, allocations: 14.75 kB / 434.1 MB, free: 42.29 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.2938, allocations: 11.05 kB / 434.1 MB, free: 42.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2938, allocations: 2.125 kB / 434.1 MB, free: 42.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.2939, allocations: 100 kB / 434.2 MB, free: 42.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2939, allocations: 0 / 434.2 MB, free: 42.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001688/0.2956, allocations: 488.8 kB / 434.7 MB, free: 42.19 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003216/0.2988, allocations: 1.528 MB / 436.2 MB, free: 41.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005569/0.2994, allocations: 296.8 kB / 436.5 MB, free: 41.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2994, allocations: 0 / 436.5 MB, free: 41.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.2997, allocations: 163.6 kB / 436.7 MB, free: 41.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.3002, allocations: 68.44 kB / 436.7 MB, free: 41.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.3031, allocations: 2.412 MB / 439.1 MB, free: 39.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.3032, allocations: 0.719 MB / 439.9 MB, free: 38.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.3033, allocations: 23.59 kB / 439.9 MB, free: 38.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.3034, allocations: 37.72 kB / 439.9 MB, free: 38.75 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3034, allocations: 0 / 439.9 MB, free: 38.75 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8488/1.152, allocations: 22.31 MB / 462.2 MB, free: 20.85 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/1.153, allocations: 201.2 kB / 462.4 MB, free: 20.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.731, allocations: 0 / 462.4 MB, free: 20.59 MB / 318.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_MaxwellLoop.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.MaxwellLoop.pipe 2>&1)