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.0009783/0.0009784, allocations: 90.03 kB / 16.31 MB, free: 5.539 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.00111/0.00111, allocations: 183.6 kB / 17.21 MB, free: 5.457 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.427/1.427, allocations: 205.4 MB / 223.4 MB, free: 13.07 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.0004986/0.0004986, allocations: 11.98 kB / 280.1 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.0996, allocations: 47.57 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.361/0.4606, allocations: 138.5 MB / 466.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008936/0.4616, allocations: 0.5509 MB / 466.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.4617, allocations: 4 kB / 466.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.4619, allocations: 39.73 kB / 466.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003602/0.4623, allocations: 137.6 kB / 467 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.4648, allocations: 0.8285 MB / 467.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005121/0.4653, allocations: 394.7 kB / 468.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.4654, allocations: 9.453 kB / 468.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/0.4657, allocations: 139.5 kB / 468.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.466, allocations: 127.6 kB / 468.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.466, allocations: 8 kB / 468.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.4685, allocations: 1.352 MB / 469.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.4686, allocations: 71.83 kB / 469.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.4687, allocations: 57.64 kB / 469.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001351/0.4701, allocations: 0.6369 MB / 470.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.4701, allocations: 4 kB / 470.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4701, allocations: 0 / 470.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.4701, allocations: 0 / 470.6 MB, free: 11.17 MB / 366.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.001687/0.4718, allocations: 0.6323 MB / 471.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.4719, allocations: 8.031 kB / 471.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.472, allocations: 27.8 kB / 471.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.4723, allocations: 215.6 kB / 471.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4723, allocations: 12.33 kB / 471.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.4724, allocations: 16 kB / 471.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.473, allocations: 269.3 kB / 471.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.473, allocations: 0 / 471.7 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.473, allocations: 4 kB / 471.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.4731, allocations: 12 kB / 471.8 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.4737, allocations: 263.7 kB / 472 MB, free: 9.633 MB / 366.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.00148/0.4752, allocations: 0.7975 MB / 472.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.4758, allocations: 222.9 kB / 473 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.4761, allocations: 141.6 kB / 473.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/0.4764, allocations: 356.4 kB / 473.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.4765, allocations: 34.56 kB / 473.6 MB, free: 7.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.505e-06/0.4765, allocations: 0 / 473.6 MB, free: 7.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002254/0.4788, allocations: 0.6671 MB / 474.2 MB, free: 7.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.4788, allocations: 89.03 kB / 474.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4789, allocations: 117.8 kB / 474.4 MB, free: 7.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.479, allocations: 29.7 kB / 474.5 MB, free: 6.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.4791, allocations: 108.8 kB / 474.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.4792, allocations: 130.2 kB / 474.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.552e-05/0.4792, allocations: 8 kB / 474.7 MB, free: 6.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4793, allocations: 326.8 kB / 475 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.4797, allocations: 135.9 kB / 475.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.4801, allocations: 207.5 kB / 475.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.4805, allocations: 148 kB / 475.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4805, allocations: 3.984 kB / 475.5 MB, free: 5.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000901/0.4814, allocations: 397.1 kB / 475.9 MB, free: 5.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4814, allocations: 4 kB / 475.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4814, allocations: 4 kB / 475.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.4814, allocations: 5.312 kB / 475.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.4819, allocations: 96.03 kB / 476 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.4819, allocations: 7.984 kB / 476 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.4823, allocations: 23.92 kB / 476 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.4823, allocations: 19.98 kB / 476 MB, free: 5.34 MB / 366.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.0001641/0.4825, allocations: 145.7 kB / 476.2 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.4826, allocations: 15.81 kB / 476.2 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.4829, allocations: 182.2 kB / 476.4 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.483, allocations: 7.984 kB / 476.4 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.483, allocations: 4.875 kB / 476.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.483, allocations: 0 / 476.4 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.4846, allocations: 0.7442 MB / 477.1 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.4846, allocations: 7.953 kB / 477.1 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.485, allocations: 75.89 kB / 477.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.485, allocations: 8.531 kB / 477.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.4851, allocations: 15.98 kB / 477.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.4851, allocations: 7.938 kB / 477.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4851, allocations: 0 / 477.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.4864, allocations: 0.7186 MB / 478 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.4865, allocations: 116.9 kB / 478.1 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.4865, allocations: 11.98 kB / 478.1 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.4869, allocations: 23.89 kB / 478.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.4869, allocations: 19.97 kB / 478.1 MB, free: 3.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.487, allocations: 19.98 kB / 478.2 MB, free: 3.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.526e-05/0.487, allocations: 95.33 kB / 478.2 MB, free: 2.992 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.487, allocations: 4 kB / 478.3 MB, free: 2.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005794/0.4876, allocations: 143.9 kB / 478.4 MB, free: 2.848 MB / 366.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.0004969/0.4881, allocations: 231 kB / 478.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008576/0.489, allocations: 336.3 kB / 478.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.489, allocations: 0 / 478.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.4894, allocations: 180.4 kB / 479.1 MB, free: 2.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006775/0.4901, allocations: 104.2 kB / 479.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.4916, allocations: 0.7346 MB / 480 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.4919, allocations: 0.7333 MB / 480.7 MB, free: 484 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004275/0.4924, allocations: 81.88 kB / 480.8 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.4925, allocations: 35.7 kB / 480.8 MB, free: 364 kB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4925, allocations: 0 / 480.8 MB, free: 364 kB / 366.1 MB Notification: Performance of Templates: time 0.01039/0.5029, allocations: 5.727 MB / 486.5 MB, free: 10.63 MB / 382.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)