Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",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.0009258/0.000926, allocations: 97.28 kB / 16.94 MB, free: 5.977 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.0009597/0.0009597, allocations: 184.9 kB / 17.82 MB, free: 5.641 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.484/1.484, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0004858/0.0004859, allocations: 12 kB / 280.8 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/0.09741, allocations: 47.57 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03004/0.1275, allocations: 22.06 MB / 350.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.1303, allocations: 1.891 MB / 352.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.1304, allocations: 3.938 kB / 352.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1307, allocations: 43.8 kB / 352.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.131, allocations: 115.7 kB / 352.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01628/0.1473, allocations: 4.446 MB / 357 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.1477, allocations: 187.4 kB / 357.2 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.321e-05/0.1478, allocations: 12.91 kB / 357.2 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.148, allocations: 127.6 kB / 357.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1482, allocations: 87.72 kB / 357.4 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1482, allocations: 8 kB / 357.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.1646, allocations: 8.279 MB / 365.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.1648, allocations: 59.86 kB / 365.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1649, allocations: 57.64 kB / 365.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008148/0.173, allocations: 2.936 MB / 368.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1731, allocations: 3.938 kB / 368.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1731, allocations: 0 / 368.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1731, allocations: 0 / 368.7 MB, free: 11.61 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.004/0.1771, allocations: 1.065 MB / 369.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1772, allocations: 8.031 kB / 369.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.477e-05/0.1773, allocations: 46.55 kB / 369.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.1775, allocations: 23.77 kB / 369.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1778, allocations: 210.9 kB / 370.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1779, allocations: 16.27 kB / 370.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.1779, allocations: 23.89 kB / 370.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000688/0.1786, allocations: 285.4 kB / 370.4 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1786, allocations: 3.938 kB / 370.4 MB, free: 9.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1787, allocations: 8 kB / 370.4 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.1787, allocations: 4 kB / 370.4 MB, free: 9.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007381/0.1794, allocations: 323.6 kB / 370.7 MB, free: 9.496 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.181, allocations: 0.8244 MB / 371.5 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.1817, allocations: 245.3 kB / 371.8 MB, free: 8.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1792/0.3609, allocations: 12.9 MB / 384.7 MB, free: 45.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.6e-05/0.361, allocations: 40.73 kB / 384.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 2.735e-06/0.361, allocations: 1.344 kB / 384.7 MB, free: 45.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.003482/0.3645, allocations: 0.6849 MB / 385.4 MB, free: 45.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3645, allocations: 88.3 kB / 385.5 MB, free: 45.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3647, allocations: 122.2 kB / 385.6 MB, free: 45.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.3647, allocations: 37.77 kB / 385.7 MB, free: 45.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.3648, allocations: 106.3 kB / 385.8 MB, free: 45.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3649, allocations: 126.1 kB / 385.9 MB, free: 44.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.365, allocations: 11.89 kB / 385.9 MB, free: 44.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.3651, allocations: 326.5 kB / 386.2 MB, free: 44.63 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.3655, allocations: 134.6 kB / 386.3 MB, free: 44.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.3662, allocations: 205 kB / 386.5 MB, free: 44.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.3667, allocations: 158.1 kB / 386.7 MB, free: 44.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3667, allocations: 1.469 kB / 386.7 MB, free: 44.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001225/0.368, allocations: 409.9 kB / 387.1 MB, free: 44.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.368, allocations: 7.625 kB / 387.1 MB, free: 44.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.368, allocations: 2.594 kB / 387.1 MB, free: 44.51 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.368, allocations: 6.406 kB / 387.1 MB, free: 44.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.3686, allocations: 93.84 kB / 387.2 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.3687, allocations: 8.109 kB / 387.2 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.369, allocations: 37.39 kB / 387.3 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.3691, allocations: 15.67 kB / 387.3 MB, free: 44.49 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.3693, allocations: 140.7 kB / 387.4 MB, free: 44.37 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.3694, allocations: 19.45 kB / 387.4 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.3699, allocations: 192 kB / 387.6 MB, free: 44.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.37, allocations: 4.188 kB / 387.6 MB, free: 44.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.37, allocations: 5.156 kB / 387.6 MB, free: 44.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.37, allocations: 7.688 kB / 387.6 MB, free: 44.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.3717, allocations: 0.7676 MB / 388.4 MB, free: 43.96 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.3718, allocations: 1.844 kB / 388.4 MB, free: 43.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.3722, allocations: 84.19 kB / 388.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.3722, allocations: 2.344 kB / 388.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.3722, allocations: 10.62 kB / 388.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.3722, allocations: 7.516 kB / 388.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3722, allocations: 2.031 kB / 388.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3739, allocations: 0.7745 MB / 389.3 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.374, allocations: 121.9 kB / 389.4 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.3741, allocations: 15.3 kB / 389.4 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.3744, allocations: 20.31 kB / 389.4 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3745, allocations: 24.34 kB / 389.5 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.826e-05/0.3745, allocations: 18.98 kB / 389.5 MB, free: 43.44 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.429e-05/0.3746, allocations: 96.33 kB / 389.6 MB, free: 43.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3746, allocations: 0 / 389.6 MB, free: 43.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003255/0.3779, allocations: 0.9247 MB / 390.5 MB, free: 43.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006148/0.384, allocations: 2.811 MB / 393.3 MB, free: 41.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.3852, allocations: 349.4 kB / 393.6 MB, free: 41.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3852, allocations: 448 / 393.6 MB, free: 41.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.3857, allocations: 175.9 kB / 393.8 MB, free: 41.61 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006079/0.3863, allocations: 90.73 kB / 393.9 MB, free: 41.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.3911, allocations: 3.04 MB / 396.9 MB, free: 39.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.3914, allocations: 0.7451 MB / 397.7 MB, free: 38.65 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004334/0.3918, allocations: 82.44 kB / 397.8 MB, free: 38.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.392, allocations: 67.44 kB / 397.8 MB, free: 38.59 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.392, allocations: 0.9688 kB / 397.8 MB, free: 38.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0571/0.4491, allocations: 33.78 MB / 431.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/0.4493, allocations: 215.5 kB / 431.8 MB, free: 9.828 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/3.583, allocations: 7.938 kB / 431.8 MB, free: 9.82 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat