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.00146/0.001461, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001703/0.001703, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.375/1.375, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001288/0.001288, allocations: 43.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1938, allocations: 46.63 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3736/0.5674, allocations: 184.3 MB / 0.4972 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005213/0.5727, allocations: 4.76 MB / 0.5019 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.5729, allocations: 2.625 kB / 0.5019 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007477/0.5737, allocations: 223.3 kB / 0.5021 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005667/0.5743, allocations: 353.1 kB / 0.5024 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008346/0.5826, allocations: 2.612 MB / 0.505 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.5839, allocations: 1.17 MB / 0.5061 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.5842, allocations: 147.4 kB / 0.5063 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/0.5876, allocations: 1.391 MB / 0.5076 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004936/0.5881, allocations: 453.1 kB / 0.5081 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.5882, allocations: 60.31 kB / 0.5081 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007623/0.5958, allocations: 4.226 MB / 0.5122 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.5963, allocations: 234 kB / 0.5125 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004683/0.5967, allocations: 324.7 kB / 0.5128 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006828/0.6036, allocations: 2.989 MB / 0.5157 GB, free: 5.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.6036, allocations: 0 / 0.5157 GB, free: 5.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6036, allocations: 3.938 kB / 0.5157 GB, free: 5.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.6036, allocations: 4 kB / 0.5157 GB, free: 5.488 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.002916/0.6066, allocations: 1.139 MB / 0.5168 GB, free: 4.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.6066, allocations: 10.28 kB / 0.5168 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.6071, allocations: 56.3 kB / 0.5169 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.6077, allocations: 367.9 kB / 0.5172 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.6077, allocations: 38.53 kB / 0.5173 GB, free: 4.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.21e-05/0.6078, allocations: 39.75 kB / 0.5173 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/0.6088, allocations: 0.5027 MB / 0.5178 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.6088, allocations: 3 kB / 0.5178 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.6089, allocations: 14.81 kB / 0.5178 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.6089, allocations: 14.5 kB / 0.5178 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009286/0.6098, allocations: 0.6061 MB / 0.5184 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.6132, allocations: 2.172 MB / 0.5205 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.6144, allocations: 0.5437 MB / 0.5211 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.6147, allocations: 258.1 kB / 0.5213 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005135/0.6153, allocations: 0.6979 MB / 0.522 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.6153, allocations: 43 kB / 0.522 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.415e-06/0.6153, allocations: 0 / 0.522 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.01444/0.6298, allocations: 3.662 MB / 0.5256 GB, free: 11.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.6298, allocations: 55.97 kB / 0.5257 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.6302, allocations: 294.7 kB / 0.5259 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.6302, allocations: 37.7 kB / 0.526 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.6304, allocations: 189.2 kB / 0.5262 GB, free: 10.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.6306, allocations: 230.2 kB / 0.5264 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.6308, allocations: 122.2 kB / 0.5265 GB, free: 10.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6309, allocations: 350.8 kB / 0.5268 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/0.6316, allocations: 309.1 kB / 0.5271 GB, free: 9.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/0.6324, allocations: 388.9 kB / 0.5275 GB, free: 9.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.6338, allocations: 0.7086 MB / 0.5282 GB, free: 8.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6339, allocations: 0 / 0.5282 GB, free: 8.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002206/0.6361, allocations: 0.9678 MB / 0.5291 GB, free: 7.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6361, allocations: 8 kB / 0.5291 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6361, allocations: 0 / 0.5291 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/0.6377, allocations: 334.4 kB / 0.5295 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.6383, allocations: 127.8 kB / 0.5296 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/0.6419, allocations: 3.702 MB / 0.5332 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006969/0.6426, allocations: 56.05 kB / 0.5332 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/0.6427, allocations: 23.98 kB / 0.5333 GB, free: 3.211 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.0003219/0.643, allocations: 209.6 kB / 0.5335 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.6432, allocations: 39.53 kB / 0.5335 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.6458, allocations: 1.032 MB / 0.5345 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.6458, allocations: 4 kB / 0.5345 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.6458, allocations: 3.938 kB / 0.5345 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002096/0.6479, allocations: 1.071 MB / 0.5356 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.6512, allocations: 1.689 MB / 0.5372 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6512, allocations: 0 / 0.5372 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.6518, allocations: 115.8 kB / 0.5373 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.6537, allocations: 382.5 kB / 0.5377 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.615e-05/0.6537, allocations: 27.92 kB / 0.5377 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.6551, allocations: 0.8597 MB / 0.5386 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6551, allocations: 8.016 kB / 0.5386 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.6579, allocations: 1.337 MB / 0.5399 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.658, allocations: 116.6 kB / 0.54 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.6581, allocations: 23.91 kB / 0.54 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.6588, allocations: 59.94 kB / 0.5401 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.6589, allocations: 40.5 kB / 0.5401 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.659, allocations: 27.97 kB / 0.5401 GB, free: 11.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.6592, allocations: 229.9 kB / 0.5403 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6592, allocations: 0 / 0.5403 GB, free: 11.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001289/0.6605, allocations: 451.6 kB / 0.5408 GB, free: 11.3 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.001328/0.6619, allocations: 0.5749 MB / 0.5413 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.6642, allocations: 1.056 MB / 0.5424 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6642, allocations: 0 / 0.5424 GB, free: 9.676 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008929/0.6651, allocations: 427 kB / 0.5428 GB, free: 9.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.6666, allocations: 316.3 kB / 0.5431 GB, free: 8.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.6696, allocations: 1.499 MB / 0.5445 GB, free: 7.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.67, allocations: 0.8493 MB / 0.5454 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000619/0.6707, allocations: 132.5 kB / 0.5455 GB, free: 6.418 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.6709, allocations: 55.42 kB / 0.5456 GB, free: 6.363 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6709, allocations: 0 / 0.5456 GB, free: 6.363 MB / 430.1 MB Notification: Performance of Templates: time 0.03268/0.7035, allocations: 21.88 MB / 0.5669 GB, free: 480 kB / 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)