Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_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.000999/0.0009994, allocations: 94.28 kB / 16.3 MB, free: 5.996 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.001113/0.001113, allocations: 184.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.0002367, allocations: 5.844 kB / 300.8 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.08935, allocations: 50.43 MB / 351.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.348/0.4374, allocations: 127.3 MB / 478.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.4389, allocations: 1.361 MB / 479.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.439, allocations: 0 / 479.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.4394, allocations: 53.17 kB / 479.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.4397, allocations: 110.5 kB / 480 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.4414, allocations: 0.6035 MB / 480.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.4416, allocations: 186.1 kB / 480.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.4417, allocations: 10.48 kB / 480.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003109/0.442, allocations: 167.7 kB / 481 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.4422, allocations: 89.92 kB / 481.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.4422, allocations: 7.562 kB / 481.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.4439, allocations: 1.167 MB / 482.3 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.4439, allocations: 63.12 kB / 482.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.924e-05/0.444, allocations: 56.33 kB / 482.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007131/0.4447, allocations: 0.5159 MB / 482.9 MB, free: 9.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.4447, allocations: 4 kB / 482.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4448, allocations: 0 / 482.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.4448, allocations: 0 / 482.9 MB, free: 9.703 MB / 366.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.001534/0.4463, allocations: 0.6021 MB / 483.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4464, allocations: 10.22 kB / 483.5 MB, free: 9.188 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.601e-05/0.4464, allocations: 49.95 kB / 483.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.4466, allocations: 21.12 kB / 483.6 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.4468, allocations: 208.3 kB / 483.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.4468, allocations: 16.03 kB / 483.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.4469, allocations: 20.34 kB / 483.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.4474, allocations: 265.1 kB / 484.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.4474, allocations: 2.375 kB / 484.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.4475, allocations: 13.36 kB / 484.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.4475, allocations: 5.656 kB / 484.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.4481, allocations: 266.5 kB / 484.4 MB, free: 8.727 MB / 366.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.001376/0.4495, allocations: 0.7854 MB / 485.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005771/0.4501, allocations: 218.3 kB / 485.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003295/0.4504, allocations: 354.6 kB / 485.7 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4504, allocations: 39.75 kB / 485.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.996e-06/0.4505, allocations: 3.656 kB / 485.8 MB, free: 7.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002208/0.4527, allocations: 0.6731 MB / 486.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4527, allocations: 83.33 kB / 486.5 MB, free: 7.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.4528, allocations: 121.7 kB / 486.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.4529, allocations: 34.14 kB / 486.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.4529, allocations: 106.7 kB / 486.8 MB, free: 7.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.134e-05/0.453, allocations: 132.6 kB / 486.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.4531, allocations: 8.812 kB / 486.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4532, allocations: 323.1 kB / 487.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.4535, allocations: 140.3 kB / 487.4 MB, free: 6.641 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.4539, allocations: 203.2 kB / 487.6 MB, free: 6.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.4543, allocations: 150.7 kB / 487.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4543, allocations: 0 / 487.7 MB, free: 6.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008546/0.4552, allocations: 410.8 kB / 488.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4552, allocations: 5.875 kB / 488.1 MB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.4552, allocations: 6.547 kB / 488.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4552, allocations: 8.875 kB / 488.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.4557, allocations: 88.69 kB / 488.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.4557, allocations: 2.375 kB / 488.2 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.456, allocations: 27.14 kB / 488.2 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.4561, allocations: 19.67 kB / 488.3 MB, free: 6.359 MB / 366.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.000136/0.4562, allocations: 141.7 kB / 488.4 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.4563, allocations: 22.08 kB / 488.4 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.4566, allocations: 171.7 kB / 488.6 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4566, allocations: 5.438 kB / 488.6 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4566, allocations: 0 / 488.6 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4567, allocations: 3.984 kB / 488.6 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.4582, allocations: 0.7502 MB / 489.3 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4582, allocations: 2.312 kB / 489.3 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.4587, allocations: 90.62 kB / 489.4 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4587, allocations: 6.438 kB / 489.4 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.4587, allocations: 9.688 kB / 489.5 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.4587, allocations: 6.438 kB / 489.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4587, allocations: 1.719 kB / 489.5 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.46, allocations: 0.7756 MB / 490.2 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.4601, allocations: 124.1 kB / 490.4 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.4602, allocations: 12.44 kB / 490.4 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.4605, allocations: 20.95 kB / 490.4 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4606, allocations: 25.77 kB / 490.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.4606, allocations: 17.45 kB / 490.4 MB, free: 5.039 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.4607, allocations: 92.58 kB / 490.5 MB, free: 4.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4607, allocations: 4 kB / 490.5 MB, free: 4.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.4613, allocations: 140 kB / 490.7 MB, free: 4.938 MB / 366.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 (38): * Single equations (assignments): 38 * 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.001998/0.4633, allocations: 1.839 MB / 492.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007936/0.4641, allocations: 340.6 kB / 492.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4641, allocations: 0 / 492.8 MB, free: 3.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.4645, allocations: 174.9 kB / 493 MB, free: 3.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.4651, allocations: 96.47 kB / 493.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.4684, allocations: 2.771 MB / 495.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.4688, allocations: 0.7374 MB / 496.6 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003894/0.4692, allocations: 83.5 kB / 496.7 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.4693, allocations: 66.44 kB / 496.8 MB, free: 476 kB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4693, allocations: 3.938 kB / 496.8 MB, free: 472 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.4879, allocations: 7.485 MB / 0.4924 GB, free: 10.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.4882, allocations: 161.4 kB / 0.4926 GB, free: 10.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.384, allocations: 0 / 0.4926 GB, free: 10.5 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Media_Examples_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat