Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008749/0.008749, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001593/0.001593, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.5/1.5, allocations: 205.1 MB / 222.6 MB, free: 4.402 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.6149/0.6149, allocations: 95.48 MB / 365.4 MB, free: 9.711 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.00148/0.00148, allocations: 74.41 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1591, allocations: 69.09 MB / 0.5711 GB, free: 8.336 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003049/0.1622, allocations: 1.653 MB / 0.5727 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.1629, allocations: 390.8 kB / 0.5731 GB, free: 6.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.985e-05/0.163, allocations: 4 kB / 0.5731 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.1632, allocations: 19.8 kB / 0.5731 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.1632, allocations: 19.78 kB / 0.5731 GB, free: 6.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.1637, allocations: 127.6 kB / 0.5732 GB, free: 6.113 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1638, allocations: 111.6 kB / 0.5733 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.1641, allocations: 35.98 kB / 0.5734 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/0.1641, allocations: 35.92 kB / 0.5734 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.1642, allocations: 47.77 kB / 0.5734 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1642, allocations: 11.98 kB / 0.5735 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1644, allocations: 59.95 kB / 0.5735 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.1644, allocations: 23.92 kB / 0.5735 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.1645, allocations: 39.8 kB / 0.5736 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1647, allocations: 131.6 kB / 0.5737 GB, free: 5.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1647, allocations: 3.984 kB / 0.5737 GB, free: 5.621 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1647, allocations: 0 / 0.5737 GB, free: 5.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1648, allocations: 3.938 kB / 0.5737 GB, free: 5.617 MB / 446.1 MB 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.0006506/0.1654, allocations: 415.2 kB / 0.5741 GB, free: 5.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1655, allocations: 11.98 kB / 0.5741 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.1657, allocations: 32.72 kB / 0.5741 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.166, allocations: 200.1 kB / 0.5743 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.1661, allocations: 30.27 kB / 0.5744 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1661, allocations: 12.38 kB / 0.5744 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.1664, allocations: 103.3 kB / 0.5745 GB, free: 4.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1664, allocations: 3.938 kB / 0.5745 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.1664, allocations: 0 / 0.5745 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1664, allocations: 4 kB / 0.5745 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/0.1667, allocations: 83.88 kB / 0.5746 GB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.1674, allocations: 388.5 kB / 0.5749 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.1679, allocations: 126.5 kB / 0.5751 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.168, allocations: 44.88 kB / 0.5751 GB, free: 4.031 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.1681, allocations: 4 kB / 0.5751 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.1681, allocations: 30.56 kB / 0.5751 GB, free: 3.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1681, allocations: 0 / 0.5751 GB, free: 3.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004053/0.1685, allocations: 141.5 kB / 0.5753 GB, free: 3.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1685, allocations: 55.41 kB / 0.5753 GB, free: 3.777 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.1687, allocations: 140.1 kB / 0.5755 GB, free: 3.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1687, allocations: 29.7 kB / 0.5755 GB, free: 3.598 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.1687, allocations: 100.2 kB / 0.5756 GB, free: 3.496 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.1688, allocations: 23.7 kB / 0.5756 GB, free: 3.473 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.1688, allocations: 17.72 kB / 0.5756 GB, free: 3.449 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1689, allocations: 322.8 kB / 0.5759 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.169, allocations: 27.97 kB / 0.5759 GB, free: 3.098 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1691, allocations: 45.7 kB / 0.576 GB, free: 3.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1693, allocations: 82.06 kB / 0.5761 GB, free: 2.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1694, allocations: 0 / 0.5761 GB, free: 2.961 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002436/0.1696, allocations: 113.6 kB / 0.5762 GB, free: 2.844 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1696, allocations: 4 kB / 0.5762 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1696, allocations: 0 / 0.5762 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1697, allocations: 3.938 kB / 0.5762 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1698, allocations: 31.86 kB / 0.5762 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.1698, allocations: 0 / 0.5762 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.1699, allocations: 19.83 kB / 0.5762 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1699, allocations: 4 kB / 0.5762 GB, free: 2.781 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 7.773e-05/0.17, allocations: 117.8 kB / 0.5764 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.17, allocations: 7.906 kB / 0.5764 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.1701, allocations: 16.7 kB / 0.5764 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1701, allocations: 7.938 kB / 0.5764 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1701, allocations: 3.938 kB / 0.5764 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1701, allocations: 0 / 0.5764 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1703, allocations: 197.6 kB / 0.5766 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1703, allocations: 0 / 0.5766 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1704, allocations: 12 kB / 0.5766 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1704, allocations: 7.984 kB / 0.5766 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1704, allocations: 4 kB / 0.5766 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1704, allocations: 3.938 kB / 0.5766 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1704, allocations: 3.938 kB / 0.5766 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1707, allocations: 195.4 kB / 0.5768 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.1708, allocations: 85.02 kB / 0.5769 GB, free: 2.031 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1708, allocations: 4 kB / 0.5769 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.1709, allocations: 19.92 kB / 0.5769 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.171, allocations: 3.984 kB / 0.5769 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.171, allocations: 4 kB / 0.5769 GB, free: 2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.618e-05/0.1711, allocations: 110.5 kB / 0.577 GB, free: 1.895 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1711, allocations: 0 / 0.577 GB, free: 1.895 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1713, allocations: 27.84 kB / 0.577 GB, free: 1.867 MB / 446.1 MB 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 (7): * Single equations (assignments): 7 * 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.0001112/0.1714, allocations: 95.25 kB / 0.5771 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.1717, allocations: 83.88 kB / 0.5772 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1717, allocations: 0 / 0.5772 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1718, allocations: 39.91 kB / 0.5772 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1722, allocations: 19.98 kB / 0.5773 GB, free: 1.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.1727, allocations: 199.2 kB / 0.5775 GB, free: 1.406 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.1729, allocations: 0.6924 MB / 0.5781 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.055e-05/0.173, allocations: 20.59 kB / 0.5781 GB, free: 0.668 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.173, allocations: 15.44 kB / 0.5782 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.173, allocations: 0 / 0.5782 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of Templates: time 0.004025/0.177, allocations: 1.488 MB / 0.5796 GB, free: 15.18 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)