Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005511/0.005511, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001213/0.001213, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.5 MB, free: 4.523 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.001278/0.001278, allocations: 55.58 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08209/0.08337, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3634/0.4468, allocations: 144 MB / 0.5051 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.4491, allocations: 1.728 MB / 0.5068 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.4493, allocations: 4.719 kB / 0.5068 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005785/0.45, allocations: 180.2 kB / 0.507 GB, free: 9.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005281/0.4505, allocations: 324.3 kB / 0.5073 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009694/0.4515, allocations: 426.2 kB / 0.5077 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008111/0.4523, allocations: 0.841 MB / 0.5085 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.4525, allocations: 98.3 kB / 0.5086 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006068/0.4531, allocations: 410.1 kB / 0.509 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.4536, allocations: 319.3 kB / 0.5093 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.4536, allocations: 34 kB / 0.5093 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.4539, allocations: 138.7 kB / 0.5094 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.4541, allocations: 92 kB / 0.5095 GB, free: 7.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.4542, allocations: 192.6 kB / 0.5097 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.4547, allocations: 495.5 kB / 0.5102 GB, free: 7.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4547, allocations: 0 / 0.5102 GB, free: 7.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4547, allocations: 0 / 0.5102 GB, free: 7.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4547, allocations: 0 / 0.5102 GB, free: 7.461 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007384/0.4555, allocations: 0.5898 MB / 0.5108 GB, free: 6.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.4555, allocations: 14.12 kB / 0.5108 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.4558, allocations: 41.66 kB / 0.5108 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.4562, allocations: 293.9 kB / 0.5111 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4562, allocations: 15.06 kB / 0.5111 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.4563, allocations: 23.09 kB / 0.5111 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.4567, allocations: 313.3 kB / 0.5114 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.4568, allocations: 0 / 0.5114 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.4568, allocations: 10.75 kB / 0.5114 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4568, allocations: 7.594 kB / 0.5115 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.4571, allocations: 201.9 kB / 0.5116 GB, free: 6.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.4587, allocations: 1.29 MB / 0.5129 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.459, allocations: 197.8 kB / 0.5131 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.4592, allocations: 87.67 kB / 0.5132 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.4593, allocations: 168.1 kB / 0.5133 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.4594, allocations: 37 kB / 0.5134 GB, free: 4.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.4594, allocations: 6.312 kB / 0.5134 GB, free: 4.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002292/0.4617, allocations: 1.037 MB / 0.5144 GB, free: 3.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.4617, allocations: 53.19 kB / 0.5144 GB, free: 3.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/0.462, allocations: 263.4 kB / 0.5147 GB, free: 3.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.462, allocations: 36.61 kB / 0.5147 GB, free: 3.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.4621, allocations: 173.1 kB / 0.5149 GB, free: 3.441 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.4622, allocations: 88.47 kB / 0.515 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-05/0.4623, allocations: 67.12 kB / 0.515 GB, free: 3.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4624, allocations: 337.7 kB / 0.5154 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.4626, allocations: 76.81 kB / 0.5154 GB, free: 2.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.4628, allocations: 183 kB / 0.5156 GB, free: 2.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.4631, allocations: 290.2 kB / 0.5159 GB, free: 2.555 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4631, allocations: 0 / 0.5159 GB, free: 2.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005472/0.4637, allocations: 442 kB / 0.5163 GB, free: 2.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.4637, allocations: 5.406 kB / 0.5163 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4637, allocations: 5.031 kB / 0.5163 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.4639, allocations: 43.06 kB / 0.5164 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.4642, allocations: 76.47 kB / 0.5164 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.466, allocations: 2.766 MB / 0.5191 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.4662, allocations: 12.69 kB / 0.5191 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.4662, allocations: 20.78 kB / 0.5192 GB, free: 15.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000167/0.4664, allocations: 169.4 kB / 0.5193 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.4665, allocations: 23.97 kB / 0.5194 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.467, allocations: 357.7 kB / 0.5197 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.467, allocations: 2.75 kB / 0.5197 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.467, allocations: 4 kB / 0.5197 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005161/0.4675, allocations: 0.6226 MB / 0.5203 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009243/0.4685, allocations: 0.75 MB / 0.521 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4685, allocations: 0 / 0.521 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.4687, allocations: 66.39 kB / 0.5211 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.689e-05/0.4688, allocations: 16.12 kB / 0.5211 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.4689, allocations: 6.875 kB / 0.5211 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008496/0.4697, allocations: 1.384 MB / 0.5225 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4697, allocations: 3.938 kB / 0.5225 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/0.4703, allocations: 0.5171 MB / 0.523 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.4704, allocations: 96.58 kB / 0.5231 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.4704, allocations: 7.938 kB / 0.5231 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4706, allocations: 12.95 kB / 0.5231 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.4707, allocations: 11.67 kB / 0.5231 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.4707, allocations: 21.58 kB / 0.5231 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.4709, allocations: 182.8 kB / 0.5233 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4709, allocations: 3 kB / 0.5233 GB, free: 11.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.4713, allocations: 109.2 kB / 0.5234 GB, free: 11.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 24 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002043/0.4715, allocations: 142.4 kB / 0.5235 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005495/0.472, allocations: 454.4 kB / 0.524 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4721, allocations: 0 / 0.524 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.4723, allocations: 216.2 kB / 0.5242 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/0.4732, allocations: 163.9 kB / 0.5243 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.4742, allocations: 0.6737 MB / 0.525 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.4745, allocations: 0.7606 MB / 0.5257 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.4747, allocations: 58.94 kB / 0.5258 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.4748, allocations: 35.42 kB / 0.5258 GB, free: 9.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4748, allocations: 0 / 0.5258 GB, free: 9.25 MB / 414.1 MB Notification: Performance of Templates: time 0.009733/0.4845, allocations: 6.303 MB / 0.532 GB, free: 2.938 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1)