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.0009974/0.0009976, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001179/0.001179, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.001711, allocations: 271 kB / 291.4 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9622/0.9622, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003932, allocations: 14.19 kB / 0.598 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1687, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001445/0.1702, allocations: 1.124 MB / 0.6856 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000441/0.1706, allocations: 187.4 kB / 0.6857 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.1707, allocations: 4 kB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.1707, allocations: 9.203 kB / 0.6858 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.1707, allocations: 0 / 0.6858 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.1709, allocations: 19.91 kB / 0.6858 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.171, allocations: 24.55 kB / 0.6858 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.57e-05/0.171, allocations: 4.625 kB / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.706e-05/0.1711, allocations: 10 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.649e-05/0.1711, allocations: 7.984 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.1711, allocations: 4 kB / 0.6858 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.1712, allocations: 19.98 kB / 0.6858 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1712, allocations: 11.97 kB / 0.6859 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.1713, allocations: 30.14 kB / 0.6859 GB, free: 14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.098e-05/0.1714, allocations: 28.2 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1714, allocations: 4.703 kB / 0.6859 GB, free: 13.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1714, allocations: 0 / 0.6859 GB, free: 13.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1714, allocations: 0.8438 kB / 0.6859 GB, free: 13.96 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.0003736/0.1718, allocations: 328.9 kB / 0.6862 GB, free: 13.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1718, allocations: 16.8 kB / 0.6863 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.663e-05/0.1719, allocations: 7.859 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.172, allocations: 173.3 kB / 0.6864 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1721, allocations: 0 / 0.6864 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.1721, allocations: 0 / 0.6864 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1723, allocations: 54.33 kB / 0.6865 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1723, allocations: 0 / 0.6865 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1723, allocations: 4.75 kB / 0.6865 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1723, allocations: 0 / 0.6865 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.1725, allocations: 59.28 kB / 0.6865 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.1728, allocations: 241 kB / 0.6868 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.1729, allocations: 48.39 kB / 0.6868 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.658e-05/0.173, allocations: 26.81 kB / 0.6868 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.173, allocations: 0 / 0.6868 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.173, allocations: 42.55 kB / 0.6869 GB, free: 12.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.173, allocations: 0 / 0.6869 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003297/0.1734, allocations: 101.6 kB / 0.687 GB, free: 12.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.1734, allocations: 55.41 kB / 0.687 GB, free: 12.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.118e-05/0.1735, allocations: 101.8 kB / 0.6871 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1735, allocations: 25.7 kB / 0.6871 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.1735, allocations: 80.14 kB / 0.6872 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.1736, allocations: 7.906 kB / 0.6872 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.1736, allocations: 4 kB / 0.6872 GB, free: 12.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.1738, allocations: 310.8 kB / 0.6875 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.282e-05/0.1738, allocations: 27.95 kB / 0.6876 GB, free: 12.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.174, allocations: 23.97 kB / 0.6876 GB, free: 12.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.155e-05/0.1741, allocations: 24.05 kB / 0.6876 GB, free: 12.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1741, allocations: 0 / 0.6876 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001736/0.1742, allocations: 81.59 kB / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1743, allocations: 4 kB / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1743, allocations: 0 / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1743, allocations: 4.031 kB / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.1744, allocations: 15.94 kB / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1744, allocations: 0 / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.1744, allocations: 8 kB / 0.6877 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.1744, allocations: 0 / 0.6877 GB, free: 11.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.1745, allocations: 114.5 kB / 0.6878 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.1745, allocations: 7.906 kB / 0.6878 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1748, allocations: 88.72 kB / 0.6879 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1748, allocations: 0 / 0.6879 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1748, allocations: 3.953 kB / 0.6879 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1748, allocations: 8 kB / 0.6879 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1749, allocations: 157.7 kB / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.175, allocations: 0 / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/0.175, allocations: 11.98 kB / 0.6881 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.175, allocations: 4 kB / 0.6881 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.175, allocations: 0 / 0.6881 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.175, allocations: 3.938 kB / 0.6881 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1751, allocations: 0 / 0.6881 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1753, allocations: 179.5 kB / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.1753, allocations: 77.11 kB / 0.6883 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1753, allocations: 0 / 0.6883 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.1754, allocations: 15.92 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.1755, allocations: 4 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1755, allocations: 0 / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.054e-05/0.1755, allocations: 87.27 kB / 0.6884 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1755, allocations: 0 / 0.6884 GB, free: 11.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002054/0.1757, allocations: 15.8 kB / 0.6885 GB, free: 11.06 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 (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 9.608e-05/0.1758, allocations: 99.25 kB / 0.6886 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.176, allocations: 51.95 kB / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.176, allocations: 0 / 0.6886 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.1761, allocations: 23.98 kB / 0.6886 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1764, allocations: 7 kB / 0.6886 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.1767, allocations: 133.6 kB / 0.6888 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.177, allocations: 0.6848 MB / 0.6894 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.764e-05/0.177, allocations: 0 / 0.6894 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.177, allocations: 7.438 kB / 0.6894 GB, free: 9.996 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1771, allocations: 4 kB / 0.6894 GB, free: 9.992 MB / 494.1 MB Notification: Performance of Templates: time 0.002246/0.1793, allocations: 435.7 kB / 0.6899 GB, free: 9.578 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)