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.006749/0.006749, allocations: 105.1 kB / 15.73 MB, free: 6.043 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.001342/0.001342, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 279 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9552/0.9552, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001844, allocations: 95.86 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1679, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002429/0.1704, allocations: 1.41 MB / 0.7677 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004556/0.1709, allocations: 199.4 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.1709, allocations: 0 / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.171, allocations: 0 / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.833e-05/0.171, allocations: 3.938 kB / 0.7679 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1712, allocations: 27.91 kB / 0.768 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.1713, allocations: 19.92 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.1714, allocations: 12 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.244e-05/0.1714, allocations: 11.92 kB / 0.768 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.1715, allocations: 11.98 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.1715, allocations: 0 / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.1716, allocations: 23.98 kB / 0.768 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.1716, allocations: 15.92 kB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1717, allocations: 4 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1718, allocations: 39.78 kB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1718, allocations: 3.984 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1718, allocations: 4 kB / 0.7681 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.1718, allocations: 0 / 0.7681 GB, free: 6.645 MB / 0.5606 GB 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.0004212/0.1722, allocations: 339.5 kB / 0.7684 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1723, allocations: 8.031 kB / 0.7684 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1724, allocations: 8.875 kB / 0.7684 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1725, allocations: 168.2 kB / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1725, allocations: 384 / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.1725, allocations: 384 / 0.7686 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1727, allocations: 54.23 kB / 0.7687 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1727, allocations: 4.125 kB / 0.7687 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1727, allocations: 3.938 kB / 0.7687 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1727, allocations: 4 kB / 0.7687 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1729, allocations: 31.95 kB / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.1733, allocations: 248.9 kB / 0.7689 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.1734, allocations: 46.53 kB / 0.769 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.1735, allocations: 20.91 kB / 0.769 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1735, allocations: 3.984 kB / 0.769 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1735, allocations: 38.55 kB / 0.769 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1735, allocations: 0 / 0.769 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003455/0.1739, allocations: 89.58 kB / 0.7691 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.1739, allocations: 51.41 kB / 0.7692 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.174, allocations: 105.8 kB / 0.7693 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.174, allocations: 25.7 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.1741, allocations: 80.14 kB / 0.7694 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.1741, allocations: 3.906 kB / 0.7694 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.1741, allocations: 21.84 kB / 0.7694 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/0.1742, allocations: 314.8 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.703e-05/0.1743, allocations: 11.98 kB / 0.7697 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.1744, allocations: 19.98 kB / 0.7697 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1745, allocations: 32.83 kB / 0.7698 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1745, allocations: 4.062 kB / 0.7698 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.1747, allocations: 73.53 kB / 0.7698 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1747, allocations: 4 kB / 0.7698 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1748, allocations: 4 kB / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1748, allocations: 0 / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.1749, allocations: 7.984 kB / 0.7699 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1749, allocations: 3.984 kB / 0.7699 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.175, allocations: 11.98 kB / 0.7699 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.175, allocations: 4.031 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB 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 8.21e-05/0.1751, allocations: 118.4 kB / 0.77 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.1751, allocations: 7.844 kB / 0.77 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.1753, allocations: 80.7 kB / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1753, allocations: 0 / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1754, allocations: 0 / 0.7701 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1754, allocations: 8 kB / 0.7701 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.1755, allocations: 161.5 kB / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1755, allocations: 0 / 0.7702 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.1756, allocations: 11.98 kB / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1756, allocations: 0 / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1756, allocations: 0 / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1756, allocations: 0 / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1756, allocations: 0 / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.1759, allocations: 175.4 kB / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.1759, allocations: 81.05 kB / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.176, allocations: 4 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.1761, allocations: 7.984 kB / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1761, allocations: 7.938 kB / 0.7705 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.1761, allocations: 0 / 0.7705 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.026e-05/0.1762, allocations: 79.28 kB / 0.7706 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1762, allocations: 0 / 0.7706 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002184/0.1764, allocations: 8 kB / 0.7706 GB, free: 3.773 MB / 0.5606 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 (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.0001119/0.1765, allocations: 103.2 kB / 0.7707 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1767, allocations: 35.97 kB / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1767, allocations: 0 / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.864e-05/0.1768, allocations: 24.39 kB / 0.7707 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.1771, allocations: 12 kB / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.1774, allocations: 118.6 kB / 0.7709 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1777, allocations: 0.6807 MB / 0.7715 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.1777, allocations: 0 / 0.7715 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.1778, allocations: 7.438 kB / 0.7715 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1778, allocations: 0 / 0.7715 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.002545/0.1803, allocations: 0.5123 MB / 0.772 GB, free: 2.234 MB / 0.5606 GB 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)