Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.001591/0.001591, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.374/1.374, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001197/0.001197, allocations: 51.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09409, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3999/0.494, allocations: 185.3 MB / 0.4993 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007449/0.5016, allocations: 4.885 MB / 0.504 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004409/0.5021, allocations: 7.938 kB / 0.5041 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.5033, allocations: 222.9 kB / 0.5043 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009808/0.5043, allocations: 358.1 kB / 0.5046 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.5157, allocations: 2.514 MB / 0.5071 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.5185, allocations: 1.668 MB / 0.5087 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.5188, allocations: 122 kB / 0.5088 GB, free: 4.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005738/0.5246, allocations: 1.291 MB / 0.5101 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009033/0.5255, allocations: 442.5 kB / 0.5105 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.5256, allocations: 28 kB / 0.5105 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.5371, allocations: 4.305 MB / 0.5147 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005859/0.5377, allocations: 191.5 kB / 0.5149 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000687/0.5384, allocations: 286.9 kB / 0.5152 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008915/0.5474, allocations: 2.97 MB / 0.5181 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5474, allocations: 4 kB / 0.5181 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5474, allocations: 0 / 0.5181 GB, free: 10.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.5475, allocations: 0 / 0.5181 GB, free: 10.87 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003641/0.5511, allocations: 1.142 MB / 0.5192 GB, free: 9.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.5512, allocations: 12.03 kB / 0.5192 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005134/0.5517, allocations: 55.52 kB / 0.5193 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.5524, allocations: 365.8 kB / 0.5196 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.5524, allocations: 32.94 kB / 0.5196 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.5526, allocations: 44 kB / 0.5197 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.5539, allocations: 0.5023 MB / 0.5202 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.554, allocations: 4 kB / 0.5202 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.5541, allocations: 23.94 kB / 0.5202 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.5541, allocations: 15.98 kB / 0.5202 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009839/0.5551, allocations: 0.5973 MB / 0.5208 GB, free: 7.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004059/0.5592, allocations: 2.167 MB / 0.5229 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.5608, allocations: 0.5482 MB / 0.5235 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.5614, allocations: 266 kB / 0.5237 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000792/0.5622, allocations: 0.6926 MB / 0.5244 GB, free: 3.938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.5622, allocations: 39 kB / 0.5244 GB, free: 3.891 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 3.957e-06/0.5622, allocations: 0 / 0.5244 GB, free: 3.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01949/0.5817, allocations: 3.646 MB / 0.528 GB, free: 152 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.5818, allocations: 63.95 kB / 0.528 GB, free: 76 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1991/0.781, allocations: 290.9 kB / 0.5283 GB, free: 166.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.7812, allocations: 41.2 kB / 0.5284 GB, free: 166.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.7814, allocations: 188.7 kB / 0.5285 GB, free: 166.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.7816, allocations: 225.1 kB / 0.5288 GB, free: 166.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.7818, allocations: 117.3 kB / 0.5289 GB, free: 166.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.782, allocations: 350.1 kB / 0.5292 GB, free: 166.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008375/0.7828, allocations: 316.8 kB / 0.5295 GB, free: 166.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/0.7837, allocations: 382.9 kB / 0.5299 GB, free: 166.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.7854, allocations: 0.711 MB / 0.5306 GB, free: 165.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7854, allocations: 0.5 kB / 0.5306 GB, free: 165.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002413/0.7878, allocations: 0.9656 MB / 0.5315 GB, free: 165.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.7878, allocations: 6.5 kB / 0.5315 GB, free: 165.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.7878, allocations: 1.906 kB / 0.5315 GB, free: 165.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.7895, allocations: 334.2 kB / 0.5318 GB, free: 165.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.7901, allocations: 119.3 kB / 0.5319 GB, free: 165.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/0.7934, allocations: 3.515 MB / 0.5354 GB, free: 162.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007243/0.7941, allocations: 61 kB / 0.5354 GB, free: 162.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.7942, allocations: 29.23 kB / 0.5355 GB, free: 162.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003317/0.7945, allocations: 190.3 kB / 0.5356 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.7947, allocations: 45.41 kB / 0.5357 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.7974, allocations: 1.031 MB / 0.5367 GB, free: 161.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.7974, allocations: 6.656 kB / 0.5367 GB, free: 161.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.7974, allocations: 0 / 0.5367 GB, free: 161.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002204/0.7997, allocations: 1.065 MB / 0.5377 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.803, allocations: 1.703 MB / 0.5394 GB, free: 160.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.8031, allocations: 0 / 0.5394 GB, free: 160.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.8037, allocations: 115.7 kB / 0.5395 GB, free: 160.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.8055, allocations: 371.2 kB / 0.5399 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.8056, allocations: 21.22 kB / 0.5399 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.8069, allocations: 0.8736 MB / 0.5407 GB, free: 159.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8069, allocations: 4.062 kB / 0.5407 GB, free: 159.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.8097, allocations: 1.336 MB / 0.542 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.8099, allocations: 116.3 kB / 0.5422 GB, free: 158.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.81, allocations: 19.17 kB / 0.5422 GB, free: 158.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007004/0.8107, allocations: 58.44 kB / 0.5422 GB, free: 158.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.8108, allocations: 42.48 kB / 0.5423 GB, free: 158.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-05/0.8109, allocations: 38.47 kB / 0.5423 GB, free: 158.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002836/0.8112, allocations: 222.6 kB / 0.5425 GB, free: 158.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8112, allocations: 1.125 kB / 0.5425 GB, free: 158.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001726/0.8129, allocations: 453.6 kB / 0.543 GB, free: 158.4 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/0.8143, allocations: 0.5734 MB / 0.5435 GB, free: 158.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.8167, allocations: 0.9957 MB / 0.5445 GB, free: 157.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8167, allocations: 0 / 0.5445 GB, free: 157.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009271/0.8176, allocations: 424.3 kB / 0.5449 GB, free: 157.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.8191, allocations: 296.8 kB / 0.5452 GB, free: 157.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.8222, allocations: 1.493 MB / 0.5466 GB, free: 156.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.8225, allocations: 0.8479 MB / 0.5475 GB, free: 156 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006088/0.8231, allocations: 134.5 kB / 0.5476 GB, free: 156 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.8233, allocations: 58.36 kB / 0.5476 GB, free: 156 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.8233, allocations: 0 / 0.5476 GB, free: 156 MB / 430.1 MB Notification: Performance of Templates: time 0.02516/0.8485, allocations: 21.27 MB / 0.5684 GB, free: 137 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)