Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00191/0.00191, allocations: 195 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 283 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9525/0.9525, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 93.03 kB / 0.5945 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1697, allocations: 86.99 MB / 0.6794 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002597/0.1724, allocations: 1.466 MB / 0.6809 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005056/0.1729, allocations: 195.5 kB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.173, allocations: 4.75 kB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.173, allocations: 3.938 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.1731, allocations: 0.625 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.1732, allocations: 21.64 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.1733, allocations: 27.92 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.1734, allocations: 3.984 kB / 0.6811 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.994e-05/0.1735, allocations: 12.5 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.016e-05/0.1735, allocations: 12.58 kB / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.1735, allocations: 0 / 0.6811 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.1736, allocations: 30.42 kB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1736, allocations: 3.984 kB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.1737, allocations: 11.94 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.1738, allocations: 32.17 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1738, allocations: 0 / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1738, allocations: 0 / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1738, allocations: 4 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000489/0.1743, allocations: 333.6 kB / 0.6815 GB, free: 15.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1743, allocations: 12.03 kB / 0.6815 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1745, allocations: 8.781 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1746, allocations: 177 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1746, allocations: 384 / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1746, allocations: 5.188 kB / 0.6817 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1748, allocations: 50.86 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1748, allocations: 192 / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1748, allocations: 5.281 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1748, allocations: 0 / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.175, allocations: 36.67 kB / 0.6818 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.1754, allocations: 248.9 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1755, allocations: 38.5 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.499e-05/0.1756, allocations: 24.89 kB / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1756, allocations: 0 / 0.6821 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1756, allocations: 38.56 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1756, allocations: 0 / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003329/0.176, allocations: 81.58 kB / 0.6822 GB, free: 14.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.176, allocations: 51.41 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.1761, allocations: 97.86 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.1761, allocations: 25.7 kB / 0.6824 GB, free: 13.99 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.1762, allocations: 96.67 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.1762, allocations: 4 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.1762, allocations: 9.719 kB / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1764, allocations: 314.8 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.1764, allocations: 15.98 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.1765, allocations: 19.97 kB / 0.6828 GB, free: 13.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1767, allocations: 40.89 kB / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1767, allocations: 0 / 0.6829 GB, free: 13.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.1769, allocations: 81.44 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1769, allocations: 4 kB / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1769, allocations: 0 / 0.683 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1769, allocations: 4.125 kB / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.177, allocations: 16.02 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.177, allocations: 0 / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.1771, allocations: 4 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1771, allocations: 3.984 kB / 0.683 GB, free: 13.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.134e-05/0.1772, allocations: 119.1 kB / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1772, allocations: 0 / 0.6831 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.1775, allocations: 80.72 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1775, allocations: 0 / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1775, allocations: 3.938 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.1775, allocations: 3.984 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1777, allocations: 165.6 kB / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1777, allocations: 0 / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.706e-05/0.1777, allocations: 7.984 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1777, allocations: 4 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1778, allocations: 0 / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1778, allocations: 0 / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1778, allocations: 4 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.178, allocations: 163.5 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.1781, allocations: 85.02 kB / 0.6836 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1781, allocations: 3.984 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.1782, allocations: 4 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.1782, allocations: 7.922 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1782, allocations: 4 kB / 0.6836 GB, free: 12.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.468e-05/0.1782, allocations: 83.28 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1783, allocations: 0 / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.1785, allocations: 7.938 kB / 0.6837 GB, free: 12.53 MB / 494.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 (3): * Single equations (assignments): 3 * 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.000105/0.1786, allocations: 99.25 kB / 0.6838 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1788, allocations: 35.95 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1788, allocations: 4.062 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.802e-05/0.1789, allocations: 23.98 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.1792, allocations: 6.656 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.1795, allocations: 136.3 kB / 0.684 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1798, allocations: 0.6731 MB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.13e-05/0.1799, allocations: 11.98 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.1799, allocations: 11.44 kB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1799, allocations: 0 / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of Templates: time 0.002303/0.1822, allocations: 443.7 kB / 0.6851 GB, free: 11.05 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)