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.001019/0.001019, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.000901/0.000901, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.000435/0.0004351, allocations: 10.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2429, allocations: 47.58 MB / 326.5 MB, free: 1.598 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.417/0.66, allocations: 138.5 MB / 465 MB, free: 1.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007142/0.6607, allocations: 0.5601 MB / 465.5 MB, free: 1.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.6608, allocations: 0.9062 kB / 465.5 MB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.661, allocations: 39.8 kB / 465.6 MB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.6613, allocations: 143.8 kB / 465.7 MB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.6635, allocations: 0.816 MB / 466.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.664, allocations: 400.8 kB / 466.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.664, allocations: 7.922 kB / 466.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.6643, allocations: 139 kB / 467.1 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.6645, allocations: 127.8 kB / 467.2 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.6646, allocations: 7.094 kB / 467.2 MB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.6666, allocations: 1.348 MB / 468.6 MB, free: 1.723 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.323e-05/0.6667, allocations: 70.53 kB / 468.6 MB, free: 1.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.6668, allocations: 56.45 kB / 468.7 MB, free: 1.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007305/0.6675, allocations: 0.6477 MB / 469.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6675, allocations: 0 / 469.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6675, allocations: 0 / 469.3 MB, free: 1.641 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.6675, allocations: 0 / 469.3 MB, free: 1.641 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.001468/0.669, allocations: 0.6324 MB / 470 MB, free: 17.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.669, allocations: 10.53 kB / 470 MB, free: 17.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.6692, allocations: 21.94 kB / 470 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.6694, allocations: 210.6 kB / 470.2 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.6694, allocations: 11.98 kB / 470.2 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.6694, allocations: 19.31 kB / 470.2 MB, free: 16.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.6699, allocations: 259.3 kB / 470.5 MB, free: 16.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.6699, allocations: 2.734 kB / 470.5 MB, free: 16.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.67, allocations: 9.094 kB / 470.5 MB, free: 16.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.67, allocations: 10.19 kB / 470.5 MB, free: 16.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000525/0.6705, allocations: 272.7 kB / 470.8 MB, free: 16.9 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.001232/0.6718, allocations: 0.7804 MB / 471.5 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.6723, allocations: 230.1 kB / 471.8 MB, free: 16.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.6726, allocations: 136.6 kB / 471.9 MB, free: 16.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003054/0.6729, allocations: 357.1 kB / 472.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.6729, allocations: 35.19 kB / 472.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.513e-06/0.6729, allocations: 0 / 472.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00202/0.675, allocations: 0.6702 MB / 473 MB, free: 15.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.675, allocations: 83.89 kB / 473 MB, free: 15.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.6751, allocations: 126.5 kB / 473.2 MB, free: 15.63 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.6752, allocations: 33.2 kB / 473.2 MB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.6752, allocations: 114.6 kB / 473.3 MB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/0.6753, allocations: 119.9 kB / 473.4 MB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.6753, allocations: 3.938 kB / 473.4 MB, free: 15.42 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6755, allocations: 339 kB / 473.8 MB, free: 15.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.6758, allocations: 128.1 kB / 473.9 MB, free: 15.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.6761, allocations: 207.8 kB / 474.1 MB, free: 15.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.6765, allocations: 155.4 kB / 474.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6765, allocations: 0 / 474.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007774/0.6772, allocations: 400.1 kB / 474.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.6773, allocations: 11.16 kB / 474.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6773, allocations: 0 / 474.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6773, allocations: 6.438 kB / 474.6 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.6777, allocations: 84.86 kB / 474.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6778, allocations: 6.188 kB / 474.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.678, allocations: 35.91 kB / 474.8 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.6781, allocations: 14.72 kB / 474.8 MB, free: 14.96 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.0001302/0.6782, allocations: 140.7 kB / 474.9 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.6783, allocations: 19.5 kB / 474.9 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.6786, allocations: 177.9 kB / 475.1 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6786, allocations: 3.344 kB / 475.1 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6787, allocations: 2.875 kB / 475.1 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6787, allocations: 3.047 kB / 475.1 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.6801, allocations: 0.7573 MB / 475.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6801, allocations: 7.547 kB / 475.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.6805, allocations: 77.62 kB / 476 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6805, allocations: 2.875 kB / 476 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.6805, allocations: 12.45 kB / 476 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.6805, allocations: 3.156 kB / 476 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6805, allocations: 5.156 kB / 476 MB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.6816, allocations: 0.7092 MB / 476.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.6818, allocations: 123.1 kB / 476.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.6818, allocations: 12.38 kB / 476.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.6821, allocations: 32.12 kB / 476.9 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.6822, allocations: 20.81 kB / 476.9 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.6822, allocations: 14.77 kB / 476.9 MB, free: 14.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.183e-05/0.6823, allocations: 97.08 kB / 477 MB, free: 13.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6823, allocations: 0 / 477 MB, free: 13.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000525/0.6828, allocations: 145 kB / 477.1 MB, free: 13.93 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.0004254/0.6833, allocations: 239.9 kB / 477.4 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007302/0.684, allocations: 338.4 kB / 477.7 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.684, allocations: 4 kB / 477.7 MB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.6843, allocations: 170.5 kB / 477.9 MB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.685, allocations: 102.5 kB / 478 MB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.6862, allocations: 0.7334 MB / 478.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.6865, allocations: 0.7393 MB / 479.4 MB, free: 12.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.6869, allocations: 76.39 kB / 479.5 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.687, allocations: 37.12 kB / 479.6 MB, free: 12.65 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.687, allocations: 0 / 479.6 MB, free: 12.65 MB / 398.1 MB Notification: Performance of Templates: time 0.008707/0.6957, allocations: 5.722 MB / 485.3 MB, free: 12.11 MB / 398.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)