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.001073/0.001073, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001163/0.001163, allocations: 183.2 kB / 17.2 MB, free: 5.914 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.436/1.436, allocations: 205.4 MB / 223.4 MB, free: 5.531 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.0004461/0.0004462, allocations: 12 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2532, allocations: 47.58 MB / 327.7 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1425/0.3957, allocations: 127.3 MB / 455 MB, free: 3.898 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.3979, allocations: 1.372 MB / 456.4 MB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.3981, allocations: 0 / 456.4 MB, free: 2.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.3985, allocations: 43.78 kB / 456.4 MB, free: 2.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.3989, allocations: 123.6 kB / 456.5 MB, free: 2.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.4014, allocations: 0.6 MB / 457.1 MB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003367/0.4017, allocations: 179.7 kB / 457.3 MB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.072e-05/0.4018, allocations: 5.453 kB / 457.3 MB, free: 1.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004663/0.4023, allocations: 171.5 kB / 457.5 MB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.4025, allocations: 83.78 kB / 457.6 MB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/0.4026, allocations: 12 kB / 457.6 MB, free: 1.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.405, allocations: 1.17 MB / 458.7 MB, free: 148 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4051, allocations: 63.84 kB / 458.8 MB, free: 84 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.4052, allocations: 57.64 kB / 458.9 MB, free: 20 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1988/0.604, allocations: 0.5058 MB / 459.4 MB, free: 2.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6041, allocations: 0 / 459.4 MB, free: 2.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6041, allocations: 0.6562 kB / 459.4 MB, free: 2.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.6041, allocations: 0 / 459.4 MB, free: 2.84 MB / 382.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.001728/0.6058, allocations: 0.6073 MB / 460 MB, free: 2.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.6059, allocations: 9.188 kB / 460 MB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.6061, allocations: 20.25 kB / 460 MB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.6063, allocations: 211.8 kB / 460.2 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.6063, allocations: 10.3 kB / 460.2 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.6064, allocations: 18.77 kB / 460.2 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.6071, allocations: 263.3 kB / 460.5 MB, free: 18.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.6071, allocations: 0.5 kB / 460.5 MB, free: 18.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.6072, allocations: 10.92 kB / 460.5 MB, free: 18.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.6072, allocations: 5.688 kB / 460.5 MB, free: 18.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.6079, allocations: 266.2 kB / 460.8 MB, free: 18.12 MB / 398.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.001496/0.6094, allocations: 0.7894 MB / 461.6 MB, free: 17.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.61, allocations: 216 kB / 461.8 MB, free: 17.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/0.6104, allocations: 361.1 kB / 462.1 MB, free: 17.19 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.6104, allocations: 40.59 kB / 462.2 MB, free: 17.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/0.6104, allocations: 0 / 462.2 MB, free: 17.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00228/0.6127, allocations: 0.6604 MB / 462.8 MB, free: 17.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.6127, allocations: 81.98 kB / 462.9 MB, free: 16.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.6128, allocations: 124.9 kB / 463 MB, free: 16.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.6129, allocations: 34.45 kB / 463.1 MB, free: 16.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.613, allocations: 109 kB / 463.2 MB, free: 16.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.613, allocations: 126.1 kB / 463.3 MB, free: 16.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.6131, allocations: 7.781 kB / 463.3 MB, free: 16.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6132, allocations: 328.7 kB / 463.6 MB, free: 16.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003585/0.6135, allocations: 133.2 kB / 463.8 MB, free: 16.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.614, allocations: 197.8 kB / 463.9 MB, free: 16.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.6144, allocations: 161.3 kB / 464.1 MB, free: 16.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6144, allocations: 2.844 kB / 464.1 MB, free: 16.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009618/0.6154, allocations: 403.6 kB / 464.5 MB, free: 16.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.6154, allocations: 5.625 kB / 464.5 MB, free: 16.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6154, allocations: 2.688 kB / 464.5 MB, free: 16.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6154, allocations: 12.94 kB / 464.5 MB, free: 16.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.6159, allocations: 88.8 kB / 464.6 MB, free: 16.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.6159, allocations: 3.312 kB / 464.6 MB, free: 16.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.6163, allocations: 27 kB / 464.6 MB, free: 16.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.6163, allocations: 18.12 kB / 464.7 MB, free: 16.21 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.6165, allocations: 146.6 kB / 464.8 MB, free: 16.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.6165, allocations: 20.55 kB / 464.8 MB, free: 16.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.6169, allocations: 182.8 kB / 465 MB, free: 16.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6169, allocations: 4.219 kB / 465 MB, free: 16.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.6169, allocations: 1.75 kB / 465 MB, free: 16.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.6169, allocations: 1.25 kB / 465 MB, free: 16.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.6185, allocations: 0.7516 MB / 465.8 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6186, allocations: 6 kB / 465.8 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.619, allocations: 79.75 kB / 465.8 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.619, allocations: 7.172 kB / 465.8 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.619, allocations: 18.64 kB / 465.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.619, allocations: 2.625 kB / 465.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6191, allocations: 7.047 kB / 465.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.6203, allocations: 0.7778 MB / 466.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.6204, allocations: 121.7 kB / 466.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.6205, allocations: 6.375 kB / 466.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.6209, allocations: 24.38 kB / 466.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.6209, allocations: 26.88 kB / 466.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.6209, allocations: 16.36 kB / 466.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.014e-05/0.621, allocations: 96.23 kB / 466.9 MB, free: 15.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.621, allocations: 4.062 kB / 466.9 MB, free: 15.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006787/0.6217, allocations: 140.6 kB / 467.1 MB, free: 15.08 MB / 398.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004446/0.6222, allocations: 218.5 kB / 467.3 MB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000781/0.6229, allocations: 338.6 kB / 467.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.623, allocations: 0 / 467.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.6233, allocations: 193 kB / 467.8 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.6239, allocations: 91.17 kB / 467.9 MB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.6252, allocations: 0.7269 MB / 468.6 MB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.6255, allocations: 0.7414 MB / 469.4 MB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.6259, allocations: 87.92 kB / 469.5 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.626, allocations: 31.3 kB / 469.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.626, allocations: 0 / 469.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of Templates: time 0.009116/0.6352, allocations: 5.54 MB / 475 MB, free: 13.42 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: