Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006012/0.006012, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001208/0.001208, allocations: 198.7 kB / 16.68 MB, free: 5.93 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.405/1.405, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001268/0.001268, allocations: 58.55 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08605, allocations: 46.62 MB / 373.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3788/0.4649, allocations: 152.7 MB / 0.5135 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000839/0.4658, allocations: 0.5886 MB / 0.5141 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.4658, allocations: 3.938 kB / 0.5141 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.4662, allocations: 65.14 kB / 0.5142 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003781/0.4666, allocations: 161.6 kB / 0.5143 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00301/0.4697, allocations: 1.091 MB / 0.5154 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.47, allocations: 330.5 kB / 0.5157 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.4701, allocations: 8.922 kB / 0.5157 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.4703, allocations: 155.8 kB / 0.5159 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.4705, allocations: 119 kB / 0.516 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.4706, allocations: 12.75 kB / 0.516 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.4731, allocations: 1.621 MB / 0.5176 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.4732, allocations: 77.98 kB / 0.5177 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.4733, allocations: 88.19 kB / 0.5177 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.4749, allocations: 0.9895 MB / 0.5187 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.475, allocations: 3.938 kB / 0.5187 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.475, allocations: 0 / 0.5187 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.475, allocations: 0 / 0.5187 GB, free: 0.832 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001709/0.4767, allocations: 0.6789 MB / 0.5194 GB, free: 256 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.4767, allocations: 15.73 kB / 0.5194 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.4769, allocations: 25.45 kB / 0.5194 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.4772, allocations: 209.7 kB / 0.5196 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4772, allocations: 9.141 kB / 0.5196 GB, free: 0 / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.4773, allocations: 20.7 kB / 0.5196 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.4778, allocations: 266.9 kB / 0.5199 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.4778, allocations: 0 / 0.5199 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.4779, allocations: 6.906 kB / 0.5199 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.4779, allocations: 4.906 kB / 0.5199 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.4785, allocations: 262.8 kB / 0.5202 GB, free: 15.69 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.4799, allocations: 0.7924 MB / 0.5209 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.4805, allocations: 223.9 kB / 0.5211 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.4808, allocations: 135.4 kB / 0.5213 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/0.4812, allocations: 365.6 kB / 0.5216 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4812, allocations: 40.62 kB / 0.5217 GB, free: 14.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.4812, allocations: 0 / 0.5217 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002481/0.4837, allocations: 0.665 MB / 0.5223 GB, free: 13.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4838, allocations: 81.11 kB / 0.5224 GB, free: 13.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4839, allocations: 121.7 kB / 0.5225 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.484, allocations: 37.7 kB / 0.5225 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.4841, allocations: 108.8 kB / 0.5226 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.4842, allocations: 126.1 kB / 0.5228 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.4843, allocations: 73.62 kB / 0.5228 GB, free: 13.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4844, allocations: 322.8 kB / 0.5231 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.4848, allocations: 135.9 kB / 0.5233 GB, free: 12.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.4853, allocations: 207.5 kB / 0.5235 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007786/0.4861, allocations: 363.4 kB / 0.5238 GB, free: 12.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4861, allocations: 0 / 0.5238 GB, free: 12.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009628/0.4871, allocations: 409.2 kB / 0.5242 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.4871, allocations: 4 kB / 0.5242 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4871, allocations: 4 kB / 0.5242 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4871, allocations: 4 kB / 0.5242 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.4876, allocations: 88.09 kB / 0.5243 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.4876, allocations: 11.94 kB / 0.5243 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.488, allocations: 19.89 kB / 0.5243 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.488, allocations: 19.98 kB / 0.5243 GB, free: 11.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.4882, allocations: 149.6 kB / 0.5245 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.4883, allocations: 15.81 kB / 0.5245 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.4887, allocations: 176 kB / 0.5247 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4887, allocations: 4 kB / 0.5247 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.4887, allocations: 0.875 kB / 0.5247 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4887, allocations: 3.984 kB / 0.5247 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.4904, allocations: 0.7675 MB / 0.5254 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4904, allocations: 0 / 0.5254 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.4908, allocations: 87.81 kB / 0.5255 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4909, allocations: 0 / 0.5255 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.4909, allocations: 15.62 kB / 0.5255 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.4909, allocations: 0 / 0.5255 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.4909, allocations: 8.156 kB / 0.5255 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.4923, allocations: 0.7032 MB / 0.5262 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.4925, allocations: 125.1 kB / 0.5263 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.4925, allocations: 16 kB / 0.5264 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.4929, allocations: 19.98 kB / 0.5264 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.493, allocations: 27.91 kB / 0.5264 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.493, allocations: 19.92 kB / 0.5264 GB, free: 9.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.4e-05/0.4931, allocations: 95.27 kB / 0.5265 GB, free: 9.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4931, allocations: 0 / 0.5265 GB, free: 9.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006656/0.4938, allocations: 143.9 kB / 0.5267 GB, free: 9.145 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005807/0.4944, allocations: 235 kB / 0.5269 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009171/0.4953, allocations: 340.5 kB / 0.5272 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.4953, allocations: 4 kB / 0.5272 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.4957, allocations: 183.8 kB / 0.5274 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006813/0.4964, allocations: 100.9 kB / 0.5275 GB, free: 8.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.4979, allocations: 0.6018 MB / 0.5281 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.4983, allocations: 0.7416 MB / 0.5288 GB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003347/0.4986, allocations: 77.89 kB / 0.5289 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.4988, allocations: 27.42 kB / 0.5289 GB, free: 6.785 MB / 414.1 MB Notification: Performance of SimCode: time 2.094e-06/0.4988, allocations: 4 kB / 0.5289 GB, free: 6.781 MB / 414.1 MB Notification: Performance of Templates: time 0.01117/0.5099, allocations: 6.118 MB / 0.5349 GB, free: 0.6562 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)