Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0008007/0.0008004, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006788/0.006788, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.393/1.393, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0004599/0.0004599, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 47.58 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3692/0.5893, allocations: 148.6 MB / 475.6 MB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.5904, allocations: 0.5994 MB / 476.2 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.5906, allocations: 2.844 kB / 476.2 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.5909, allocations: 62.7 kB / 476.3 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004057/0.5913, allocations: 140.1 kB / 476.4 MB, free: 14.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.5943, allocations: 0.9406 MB / 477.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.5948, allocations: 482.7 kB / 477.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.818e-05/0.5949, allocations: 7.891 kB / 477.8 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.5952, allocations: 141.9 kB / 478 MB, free: 14.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.5955, allocations: 129.7 kB / 478.1 MB, free: 14.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.5955, allocations: 12.72 kB / 478.1 MB, free: 14.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/0.5988, allocations: 1.677 MB / 479.8 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.5989, allocations: 67.72 kB / 479.9 MB, free: 14.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.5991, allocations: 116.8 kB / 480 MB, free: 14.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.6008, allocations: 1.03 MB / 481 MB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6008, allocations: 2.906 kB / 481 MB, free: 13.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6009, allocations: 4 kB / 481 MB, free: 13.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.6009, allocations: 2.734 kB / 481 MB, free: 13.96 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.001744/0.6026, allocations: 0.6315 MB / 481.6 MB, free: 13.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.6027, allocations: 11.94 kB / 481.7 MB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.6028, allocations: 22.78 kB / 481.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.6031, allocations: 213.1 kB / 481.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.6032, allocations: 17.69 kB / 481.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/0.6032, allocations: 19.72 kB / 481.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.6039, allocations: 262 kB / 482.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.6039, allocations: 0 / 482.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.604, allocations: 10.19 kB / 482.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.604, allocations: 8.375 kB / 482.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.6046, allocations: 271.5 kB / 482.5 MB, free: 13.2 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.001434/0.6061, allocations: 0.7847 MB / 483.3 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/0.6067, allocations: 221.5 kB / 483.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.607, allocations: 138.3 kB / 483.6 MB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.6074, allocations: 366.7 kB / 484 MB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.6074, allocations: 34.25 kB / 484 MB, free: 12.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.6075, allocations: 2.219 kB / 484 MB, free: 12.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002385/0.6098, allocations: 0.6625 MB / 484.7 MB, free: 12.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.6099, allocations: 84.45 kB / 484.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.6101, allocations: 118 kB / 484.9 MB, free: 11.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.276e-05/0.6101, allocations: 35.89 kB / 484.9 MB, free: 11.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.6102, allocations: 107.7 kB / 485 MB, free: 11.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.6103, allocations: 122.5 kB / 485.1 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.6104, allocations: 33.89 kB / 485.1 MB, free: 11.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6105, allocations: 329 kB / 485.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.6109, allocations: 132 kB / 485.6 MB, free: 11.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.6113, allocations: 208.6 kB / 485.8 MB, free: 11.3 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.6121, allocations: 365.2 kB / 486.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6122, allocations: 0 / 486.2 MB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001034/0.6132, allocations: 408.3 kB / 486.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.6132, allocations: 11.97 kB / 486.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6133, allocations: 0 / 486.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.6133, allocations: 5.656 kB / 486.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/0.6138, allocations: 95.95 kB / 486.7 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.6139, allocations: 5.719 kB / 486.7 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.6142, allocations: 29.55 kB / 486.7 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.6143, allocations: 16.94 kB / 486.7 MB, free: 11.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.6145, allocations: 145 kB / 486.9 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.733e-05/0.6146, allocations: 20.12 kB / 486.9 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.615, allocations: 178.3 kB / 487.1 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.615, allocations: 5.125 kB / 487.1 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.615, allocations: 0 / 487.1 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.6151, allocations: 5.344 kB / 487.1 MB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.6168, allocations: 0.7566 MB / 487.8 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6168, allocations: 2.938 kB / 487.8 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.6172, allocations: 81.62 kB / 487.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.416e-06/0.6172, allocations: 7.859 kB / 487.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.6173, allocations: 13.34 kB / 487.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.6173, allocations: 3.281 kB / 487.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6173, allocations: 2.719 kB / 487.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.6186, allocations: 0.7132 MB / 488.6 MB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.6188, allocations: 122 kB / 488.8 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.6188, allocations: 6.531 kB / 488.8 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.6192, allocations: 22.75 kB / 488.8 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.6193, allocations: 37.16 kB / 488.8 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.6193, allocations: 11.69 kB / 488.8 MB, free: 10.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.568e-05/0.6194, allocations: 93.83 kB / 488.9 MB, free: 9.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6194, allocations: 0 / 488.9 MB, free: 9.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007385/0.6202, allocations: 146.1 kB / 489.1 MB, free: 9.957 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 (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.0005692/0.6207, allocations: 236.5 kB / 489.3 MB, free: 9.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009055/0.6217, allocations: 346.7 kB / 489.6 MB, free: 9.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6217, allocations: 3.016 kB / 489.6 MB, free: 9.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.6221, allocations: 183.4 kB / 489.8 MB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.6229, allocations: 98.12 kB / 489.9 MB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.6246, allocations: 0.7516 MB / 490.7 MB, free: 9.137 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.6249, allocations: 0.735 MB / 491.4 MB, free: 8.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004524/0.6254, allocations: 74.47 kB / 491.5 MB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.6255, allocations: 35.11 kB / 491.5 MB, free: 8.367 MB / 398.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6255, allocations: 0 / 491.5 MB, free: 8.367 MB / 398.1 MB Notification: Performance of Templates: time 0.0104/0.636, allocations: 5.838 MB / 497.4 MB, free: 5.395 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)