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.008053/0.008053, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001884/0.001884, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.371/1.371, allocations: 205.1 MB / 222.5 MB, free: 4.359 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.001141/0.001141, allocations: 50.92 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09627/0.09742, allocations: 46.63 MB / 373.2 MB, free: 1.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3737/0.4712, allocations: 144 MB / 0.5051 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.4737, allocations: 1.723 MB / 0.5068 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.4739, allocations: 5.594 kB / 0.5068 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.4745, allocations: 177.2 kB / 0.507 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000576/0.4751, allocations: 330.7 kB / 0.5073 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.4762, allocations: 425 kB / 0.5077 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000751/0.4769, allocations: 0.8441 MB / 0.5085 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.4771, allocations: 93.5 kB / 0.5086 GB, free: 8.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008236/0.4779, allocations: 406.3 kB / 0.509 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006259/0.4786, allocations: 326.9 kB / 0.5093 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.196e-05/0.4787, allocations: 30.03 kB / 0.5093 GB, free: 8.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.4792, allocations: 139 kB / 0.5095 GB, free: 8.121 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.4794, allocations: 91.84 kB / 0.5095 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.4797, allocations: 193 kB / 0.5097 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000736/0.4804, allocations: 491.8 kB / 0.5102 GB, free: 7.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4805, allocations: 0 / 0.5102 GB, free: 7.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4805, allocations: 4 kB / 0.5102 GB, free: 7.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.4805, allocations: 0 / 0.5102 GB, free: 7.613 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.001186/0.4817, allocations: 0.5894 MB / 0.5108 GB, free: 7.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.4818, allocations: 10.19 kB / 0.5108 GB, free: 7.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.4821, allocations: 41.66 kB / 0.5108 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.4827, allocations: 297.8 kB / 0.5111 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.4828, allocations: 22.94 kB / 0.5111 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.4828, allocations: 23.47 kB / 0.5111 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.4834, allocations: 305.5 kB / 0.5114 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4834, allocations: 0 / 0.5114 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.4835, allocations: 16.25 kB / 0.5115 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4835, allocations: 10.94 kB / 0.5115 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.4838, allocations: 198.1 kB / 0.5117 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.4856, allocations: 1.292 MB / 0.5129 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.486, allocations: 185.1 kB / 0.5131 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.4862, allocations: 92.17 kB / 0.5132 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.4863, allocations: 172.4 kB / 0.5133 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4863, allocations: 42.44 kB / 0.5134 GB, free: 4.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.634e-06/0.4864, allocations: 0 / 0.5134 GB, free: 4.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002409/0.4888, allocations: 1.031 MB / 0.5144 GB, free: 4.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.4888, allocations: 61.16 kB / 0.5145 GB, free: 3.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.4891, allocations: 261.4 kB / 0.5147 GB, free: 3.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.4891, allocations: 32.39 kB / 0.5147 GB, free: 3.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4892, allocations: 175.6 kB / 0.5149 GB, free: 3.594 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.4893, allocations: 92.39 kB / 0.515 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-05/0.4894, allocations: 67.19 kB / 0.5151 GB, free: 3.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4895, allocations: 331.5 kB / 0.5154 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.4897, allocations: 86.81 kB / 0.5155 GB, free: 3.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.4899, allocations: 173 kB / 0.5156 GB, free: 2.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.4902, allocations: 290.3 kB / 0.5159 GB, free: 2.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4903, allocations: 2.719 kB / 0.5159 GB, free: 2.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005832/0.4908, allocations: 443.8 kB / 0.5163 GB, free: 2.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4909, allocations: 6.375 kB / 0.5163 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4909, allocations: 4.719 kB / 0.5163 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001725/0.4911, allocations: 51.86 kB / 0.5164 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/0.4915, allocations: 80.38 kB / 0.5165 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.4934, allocations: 2.762 MB / 0.5192 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.4937, allocations: 6.562 kB / 0.5192 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.4937, allocations: 16.47 kB / 0.5192 GB, free: 15.46 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.0001763/0.4939, allocations: 161 kB / 0.5193 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.4939, allocations: 24.5 kB / 0.5194 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005272/0.4945, allocations: 360.8 kB / 0.5197 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4945, allocations: 2.562 kB / 0.5197 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4945, allocations: 0 / 0.5197 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006539/0.4952, allocations: 0.6287 MB / 0.5203 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009617/0.4961, allocations: 0.7556 MB / 0.521 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4962, allocations: 7.125 kB / 0.5211 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.4964, allocations: 51.55 kB / 0.5211 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.84e-05/0.4965, allocations: 27.44 kB / 0.5211 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.4966, allocations: 6 kB / 0.5211 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009465/0.4975, allocations: 1.386 MB / 0.5225 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4975, allocations: 2.719 kB / 0.5225 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.4981, allocations: 0.5067 MB / 0.523 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.4982, allocations: 100.6 kB / 0.5231 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.4983, allocations: 10.03 kB / 0.5231 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.4985, allocations: 6.234 kB / 0.5231 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.4986, allocations: 26.77 kB / 0.5231 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.4986, allocations: 15.42 kB / 0.5231 GB, free: 11.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.4988, allocations: 185.3 kB / 0.5233 GB, free: 11.56 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4988, allocations: 0 / 0.5233 GB, free: 11.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.4993, allocations: 105.4 kB / 0.5234 GB, free: 11.54 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.0002532/0.4995, allocations: 138.5 kB / 0.5235 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006933/0.5002, allocations: 449.5 kB / 0.524 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5002, allocations: 2.75 kB / 0.524 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.5005, allocations: 222.1 kB / 0.5242 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008922/0.5014, allocations: 156.7 kB / 0.5243 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.5025, allocations: 0.6724 MB / 0.525 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.5028, allocations: 0.7606 MB / 0.5257 GB, free: 9.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.5031, allocations: 62.92 kB / 0.5258 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/0.5031, allocations: 27.44 kB / 0.5258 GB, free: 9.375 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5031, allocations: 0 / 0.5258 GB, free: 9.375 MB / 414.1 MB Notification: Performance of Templates: time 0.01108/0.5142, allocations: 6.229 MB / 0.5319 GB, free: 3.137 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)