Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) 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(Buildings.Media.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") translateModel(Buildings.Media.PerfectGases.Examples.MoistAirComparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001483/0.001483, allocations: 190 kB / 16.14 MB, free: 6.703 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.544/1.544, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5771/0.5771, allocations: 95.47 MB / 364.8 MB, free: 10.14 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 444.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3063, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.PerfectGases.Examples.MoistAirComparison): time 0.002019/0.3083, allocations: 1.485 MB / 0.5031 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.5106/0.8189, allocations: 159.6 MB / 0.659 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.819, allocations: 0 / 0.659 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.013e-05/0.8191, allocations: 6.562 kB / 0.659 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.8193, allocations: 10.28 kB / 0.659 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.8217, allocations: 0.6262 MB / 0.6596 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.8219, allocations: 88.12 kB / 0.6597 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.8219, allocations: 8.016 kB / 0.6597 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.822, allocations: 28.97 kB / 0.6598 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.444e-05/0.8221, allocations: 45.5 kB / 0.6598 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.8221, allocations: 3.562 kB / 0.6598 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.8238, allocations: 0.8819 MB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.8238, allocations: 19.36 kB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.8239, allocations: 32.62 kB / 0.6607 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.8247, allocations: 0.5838 MB / 0.6613 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.8247, allocations: 4 kB / 0.6613 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.92e-07/0.8247, allocations: 0 / 0.6613 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.8248, allocations: 0 / 0.6613 GB, free: 12.3 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006037/0.8254, allocations: 498.7 kB / 0.6618 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.8254, allocations: 12.02 kB / 0.6618 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.8255, allocations: 9.156 kB / 0.6618 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.672e-05/0.8256, allocations: 159.1 kB / 0.6619 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.8256, allocations: 6.719 kB / 0.6619 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.8256, allocations: 10.67 kB / 0.6619 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.8258, allocations: 116.2 kB / 0.6621 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.8258, allocations: 0 / 0.6621 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.8258, allocations: 5.688 kB / 0.6621 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.8259, allocations: 2.531 kB / 0.6621 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.826, allocations: 128 kB / 0.6622 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.8265, allocations: 349.9 kB / 0.6625 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.8266, allocations: 109.5 kB / 0.6626 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.8267, allocations: 45.48 kB / 0.6627 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003655/0.8271, allocations: 333.6 kB / 0.663 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.8271, allocations: 35.78 kB / 0.663 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.8271, allocations: 0 / 0.663 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003345/0.8275, allocations: 146 kB / 0.6632 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.8275, allocations: 58.91 kB / 0.6632 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.259e-05/0.8276, allocations: 100.8 kB / 0.6633 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.8276, allocations: 33.02 kB / 0.6633 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.8277, allocations: 84.2 kB / 0.6634 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.8277, allocations: 56.39 kB / 0.6635 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.8278, allocations: 35.36 kB / 0.6635 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.8279, allocations: 322.4 kB / 0.6638 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.848e-05/0.8279, allocations: 30.38 kB / 0.6638 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.828, allocations: 53.48 kB / 0.6639 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.8281, allocations: 87.64 kB / 0.664 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8281, allocations: 6.406 kB / 0.664 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001907/0.8283, allocations: 136.6 kB / 0.6641 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.8283, allocations: 4.688 kB / 0.6641 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.8284, allocations: 6.844 kB / 0.6641 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.8284, allocations: 0 / 0.6641 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.8286, allocations: 41.83 kB / 0.6642 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.8286, allocations: 0 / 0.6642 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.8286, allocations: 13.47 kB / 0.6642 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.8287, allocations: 9.734 kB / 0.6642 GB, free: 10.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * 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 8.903e-05/0.8288, allocations: 119.8 kB / 0.6643 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.8288, allocations: 7.312 kB / 0.6643 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.8291, allocations: 163.6 kB / 0.6645 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.8291, allocations: 8.188 kB / 0.6645 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8291, allocations: 0 / 0.6645 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8291, allocations: 0 / 0.6645 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.8293, allocations: 194.9 kB / 0.6647 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8293, allocations: 4 kB / 0.6647 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.8295, allocations: 44.78 kB / 0.6647 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.8295, allocations: 0 / 0.6647 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.8295, allocations: 2.156 kB / 0.6647 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.8295, allocations: 5.797 kB / 0.6647 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8295, allocations: 0 / 0.6647 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.8297, allocations: 225 kB / 0.6649 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.8298, allocations: 90.88 kB / 0.665 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.8298, allocations: 7.125 kB / 0.665 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.8299, allocations: 11.55 kB / 0.665 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.83, allocations: 11.58 kB / 0.665 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.83, allocations: 7.016 kB / 0.6651 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.519e-05/0.83, allocations: 87.62 kB / 0.6651 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.83, allocations: 0 / 0.6651 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000463/0.8305, allocations: 173.5 kB / 0.6653 GB, free: 9.367 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (16): * Single equations (assignments): 16 * 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.0008775/0.8314, allocations: 349 kB / 0.6656 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.8316, allocations: 91.36 kB / 0.6657 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8316, allocations: 2.688 kB / 0.6657 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.624e-05/0.8317, allocations: 52.08 kB / 0.6658 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.8319, allocations: 15.72 kB / 0.6658 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.8323, allocations: 226 kB / 0.666 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.8326, allocations: 0.6911 MB / 0.6667 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.8328, allocations: 39.88 kB / 0.6667 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.8328, allocations: 24.48 kB / 0.6667 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.8328, allocations: 0 / 0.6667 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.006914/0.8397, allocations: 3.664 MB / 0.6703 GB, free: 7.488 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.makefile (rm -f Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; mkfifo Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe >> ../files/Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.sim & ./Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.PerfectGases.Examples.MoistAirComparison.pipe 2>&1)