Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.0008501/0.0008501, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006382/0.006382, allocations: 170 kB / 16.26 MB, free: 6.613 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.554/1.554, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.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.0004871/0.0004871, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2823, allocations: 47.59 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5004/0.7828, allocations: 182.8 MB / 0.4979 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006864/0.7897, allocations: 4.818 MB / 0.5026 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000531/0.7903, allocations: 6.562 kB / 0.5026 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009229/0.7912, allocations: 213.3 kB / 0.5028 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.7923, allocations: 369 kB / 0.5031 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008161/0.8005, allocations: 2.511 MB / 0.5056 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.8024, allocations: 1.67 MB / 0.5072 GB, free: 8.629 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.8026, allocations: 122.1 kB / 0.5073 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003455/0.8061, allocations: 1.283 MB / 0.5086 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.8067, allocations: 427.6 kB / 0.509 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.8067, allocations: 30.53 kB / 0.509 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007482/0.8142, allocations: 4.293 MB / 0.5132 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.8146, allocations: 198 kB / 0.5134 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.8151, allocations: 310.6 kB / 0.5137 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006498/0.8216, allocations: 2.944 MB / 0.5166 GB, free: 5.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8216, allocations: 0.9062 kB / 0.5166 GB, free: 5.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.8217, allocations: 0 / 0.5166 GB, free: 5.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.8217, allocations: 0 / 0.5166 GB, free: 5.543 MB / 398.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.002308/0.824, allocations: 1.029 MB / 0.5176 GB, free: 4.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.824, allocations: 10.56 kB / 0.5176 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/0.8244, allocations: 64.14 kB / 0.5176 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.8248, allocations: 360.5 kB / 0.518 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.8249, allocations: 36.09 kB / 0.518 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.825, allocations: 45.97 kB / 0.5181 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.8258, allocations: 0.5053 MB / 0.5186 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.8258, allocations: 0 / 0.5186 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.997e-05/0.8259, allocations: 25.7 kB / 0.5186 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.8259, allocations: 8.594 kB / 0.5186 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.8267, allocations: 0.6012 MB / 0.5192 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.8297, allocations: 2.178 MB / 0.5213 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.8309, allocations: 0.568 MB / 0.5219 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.8313, allocations: 260.8 kB / 0.5221 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006/0.8319, allocations: 0.6889 MB / 0.5228 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.8319, allocations: 47.58 kB / 0.5228 GB, free: 1.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 2.524e-06/0.832, allocations: 0 / 0.5228 GB, free: 1.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.01512/0.8471, allocations: 3.814 MB / 0.5265 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.8472, allocations: 55.97 kB / 0.5266 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.8475, allocations: 302.6 kB / 0.5269 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.8476, allocations: 37.7 kB / 0.5269 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.8477, allocations: 185.2 kB / 0.5271 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.8479, allocations: 235 kB / 0.5273 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.848, allocations: 53.69 kB / 0.5274 GB, free: 12.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8482, allocations: 350.7 kB / 0.5277 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.8489, allocations: 325.1 kB / 0.528 GB, free: 11.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.8497, allocations: 392.1 kB / 0.5284 GB, free: 11.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.8512, allocations: 0.7242 MB / 0.5291 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.8512, allocations: 0 / 0.5291 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002237/0.8534, allocations: 0.9756 MB / 0.5301 GB, free: 9.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.8535, allocations: 9.969 kB / 0.5301 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.8535, allocations: 0 / 0.5301 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/0.8552, allocations: 354.3 kB / 0.5304 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.8558, allocations: 115.9 kB / 0.5305 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.8594, allocations: 3.525 MB / 0.534 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/0.8601, allocations: 68.05 kB / 0.534 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.8602, allocations: 23.98 kB / 0.534 GB, free: 5.43 MB / 414.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.0003355/0.8605, allocations: 189.7 kB / 0.5342 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.8606, allocations: 47.47 kB / 0.5343 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.8632, allocations: 1.048 MB / 0.5353 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.8632, allocations: 8 kB / 0.5353 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.8632, allocations: 0 / 0.5353 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002091/0.8653, allocations: 1.087 MB / 0.5364 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.8683, allocations: 1.722 MB / 0.538 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.8683, allocations: 4 kB / 0.538 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.8689, allocations: 115.8 kB / 0.5382 GB, free: 1.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.8709, allocations: 391.5 kB / 0.5385 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.8709, allocations: 27.92 kB / 0.5386 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.8724, allocations: 0.8686 MB / 0.5394 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.8724, allocations: 4.031 kB / 0.5394 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.8751, allocations: 1.37 MB / 0.5407 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.8753, allocations: 124.6 kB / 0.5409 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-05/0.8754, allocations: 12 kB / 0.5409 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/0.8761, allocations: 68.02 kB / 0.5409 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.42e-05/0.8762, allocations: 40.5 kB / 0.541 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/0.8762, allocations: 35.91 kB / 0.541 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.8765, allocations: 229.9 kB / 0.5412 GB, free: 13.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.8765, allocations: 0 / 0.5412 GB, free: 13.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001341/0.8778, allocations: 459.6 kB / 0.5417 GB, free: 13.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.001239/0.8791, allocations: 0.5637 MB / 0.5422 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.8811, allocations: 1.013 MB / 0.5432 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.8811, allocations: 0 / 0.5432 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008764/0.882, allocations: 423 kB / 0.5436 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.8836, allocations: 296.6 kB / 0.5439 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.8864, allocations: 1.595 MB / 0.5455 GB, free: 9.516 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.8869, allocations: 0.8493 MB / 0.5463 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005636/0.8875, allocations: 132.6 kB / 0.5464 GB, free: 8.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.8876, allocations: 59.42 kB / 0.5465 GB, free: 8.441 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.8876, allocations: 0 / 0.5465 GB, free: 8.441 MB / 430.1 MB Notification: Performance of Templates: time 0.03131/0.919, allocations: 21.14 MB / 0.5671 GB, free: 3.293 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)