Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001144/0.001144, allocations: 110.6 kB / 17.06 MB, free: 5.98 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.001215/0.001215, allocations: 195 kB / 18 MB, free: 5.066 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.35/1.35, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.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.001179/0.001179, allocations: 43.94 kB / 327.8 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08352/0.0847, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3409/0.4256, allocations: 152.7 MB / 0.5148 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.4268, allocations: 0.6069 MB / 0.5154 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.4269, allocations: 4 kB / 0.5154 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.4273, allocations: 59.66 kB / 0.5155 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.4277, allocations: 151.1 kB / 0.5156 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.4309, allocations: 1.08 MB / 0.5167 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.4313, allocations: 330.8 kB / 0.517 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.4314, allocations: 9.453 kB / 0.517 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.4317, allocations: 163.1 kB / 0.5171 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.4319, allocations: 119.6 kB / 0.5173 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.432, allocations: 12 kB / 0.5173 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.4346, allocations: 1.614 MB / 0.5188 GB, free: 2.211 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.4348, allocations: 75.83 kB / 0.5189 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.4349, allocations: 87.66 kB / 0.519 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.4367, allocations: 0.9901 MB / 0.52 GB, free: 1.059 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4367, allocations: 8 kB / 0.52 GB, free: 1.051 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4367, allocations: 0 / 0.52 GB, free: 1.051 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.4367, allocations: 0 / 0.52 GB, free: 1.051 MB / 446.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.001961/0.4387, allocations: 0.6754 MB / 0.5206 GB, free: 336 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4388, allocations: 15.97 kB / 0.5207 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.439, allocations: 24.73 kB / 0.5207 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.4393, allocations: 208 kB / 0.5209 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.4393, allocations: 12.33 kB / 0.5209 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.4393, allocations: 16 kB / 0.5209 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.44, allocations: 269.4 kB / 0.5212 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.44, allocations: 0 / 0.5212 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.44, allocations: 4 kB / 0.5212 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.44, allocations: 8 kB / 0.5212 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.4407, allocations: 263.8 kB / 0.5214 GB, free: 15.47 MB / 462.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.001573/0.4423, allocations: 0.7968 MB / 0.5222 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.443, allocations: 217.2 kB / 0.5224 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.4433, allocations: 134.5 kB / 0.5225 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003461/0.4437, allocations: 368.3 kB / 0.5229 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.4437, allocations: 38.56 kB / 0.5229 GB, free: 13.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 3.136e-06/0.4437, allocations: 0 / 0.5229 GB, free: 13.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002423/0.4461, allocations: 0.6739 MB / 0.5236 GB, free: 13.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.4462, allocations: 85.11 kB / 0.5237 GB, free: 12.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.4463, allocations: 117.8 kB / 0.5238 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.4464, allocations: 29.7 kB / 0.5238 GB, free: 12.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.4465, allocations: 112.8 kB / 0.5239 GB, free: 12.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.4466, allocations: 126.1 kB / 0.524 GB, free: 12.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.4467, allocations: 73.64 kB / 0.5241 GB, free: 12.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4468, allocations: 330.8 kB / 0.5244 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.4472, allocations: 127.9 kB / 0.5245 GB, free: 12.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.4476, allocations: 211.6 kB / 0.5247 GB, free: 11.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.4485, allocations: 359.4 kB / 0.5251 GB, free: 11.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4485, allocations: 2.875 kB / 0.5251 GB, free: 11.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009865/0.4495, allocations: 409.2 kB / 0.5255 GB, free: 11.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.4495, allocations: 8 kB / 0.5255 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.4495, allocations: 384 / 0.5255 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.4495, allocations: 4.219 kB / 0.5255 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.45, allocations: 91.88 kB / 0.5256 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.4501, allocations: 7.938 kB / 0.5256 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.4504, allocations: 31.77 kB / 0.5256 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.488e-05/0.4505, allocations: 19.98 kB / 0.5256 GB, free: 10.86 MB / 462.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.0001592/0.4506, allocations: 145.7 kB / 0.5258 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.4507, allocations: 19.8 kB / 0.5258 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.4511, allocations: 172 kB / 0.526 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4511, allocations: 4 kB / 0.526 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4512, allocations: 4 kB / 0.526 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.4512, allocations: 3.984 kB / 0.526 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.4529, allocations: 0.7669 MB / 0.5267 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4529, allocations: 0 / 0.5267 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.4534, allocations: 83.81 kB / 0.5268 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/0.4534, allocations: 4 kB / 0.5268 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.4535, allocations: 12.16 kB / 0.5268 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.4535, allocations: 4 kB / 0.5268 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4535, allocations: 4 kB / 0.5268 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.4549, allocations: 0.7039 MB / 0.5275 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.4551, allocations: 128.8 kB / 0.5276 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.4551, allocations: 8 kB / 0.5276 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.4555, allocations: 22.67 kB / 0.5277 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.4555, allocations: 23.91 kB / 0.5277 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.4556, allocations: 19.98 kB / 0.5277 GB, free: 8.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.475e-05/0.4556, allocations: 91.33 kB / 0.5278 GB, free: 8.523 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4557, allocations: 8 kB / 0.5278 GB, free: 8.516 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009752/0.4566, allocations: 139.9 kB / 0.5279 GB, free: 8.379 MB / 462.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.0005229/0.4572, allocations: 231 kB / 0.5281 GB, free: 8.145 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000919/0.4581, allocations: 351.9 kB / 0.5285 GB, free: 7.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4581, allocations: 0 / 0.5285 GB, free: 7.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.4586, allocations: 179.7 kB / 0.5287 GB, free: 7.625 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.4593, allocations: 98.08 kB / 0.5287 GB, free: 7.535 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.4608, allocations: 0.6051 MB / 0.5293 GB, free: 6.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.4611, allocations: 0.7377 MB / 0.5301 GB, free: 6.129 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.4615, allocations: 77.89 kB / 0.5301 GB, free: 6.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.4616, allocations: 31.42 kB / 0.5302 GB, free: 6.02 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4616, allocations: 3.938 kB / 0.5302 GB, free: 6.016 MB / 462.1 MB Notification: Performance of Templates: time 0.01167/0.4733, allocations: 6.179 MB / 0.5362 GB, free: 15.83 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe 2>&1)