Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004819/0.004819, allocations: 103.7 kB / 15.74 MB, free: 6.449 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.001096/0.001096, allocations: 195.6 kB / 16.67 MB, free: 6.355 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 278.8 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.00168, allocations: 91.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1644, allocations: 86.97 MB / 0.7664 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00204/0.1665, allocations: 1.287 MB / 0.7676 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.1674, allocations: 0.5733 MB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.591e-05/0.1674, allocations: 0 / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.751e-05/0.1674, allocations: 0 / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.158e-05/0.1675, allocations: 7.922 kB / 0.7682 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.1678, allocations: 91.56 kB / 0.7683 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.571e-05/0.1679, allocations: 23.88 kB / 0.7683 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.826e-05/0.1679, allocations: 4 kB / 0.7683 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.184e-05/0.168, allocations: 7.938 kB / 0.7683 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.558e-05/0.168, allocations: 11.97 kB / 0.7683 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.168, allocations: 0 / 0.7683 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.1683, allocations: 143.7 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.1683, allocations: 0 / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.1683, allocations: 11.94 kB / 0.7685 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1685, allocations: 91.7 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1685, allocations: 0 / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1685, allocations: 0 / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1685, allocations: 0 / 0.7686 GB, free: 6.133 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003435/0.1689, allocations: 351.2 kB / 0.7689 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.1689, allocations: 12.03 kB / 0.7689 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.1693, allocations: 28.89 kB / 0.769 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.1694, allocations: 164.4 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1694, allocations: 384 / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.1695, allocations: 4.312 kB / 0.7691 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1696, allocations: 58.16 kB / 0.7692 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1696, allocations: 192 / 0.7692 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1697, allocations: 7.938 kB / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1697, allocations: 0 / 0.7692 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1698, allocations: 23.97 kB / 0.7692 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.17, allocations: 153.7 kB / 0.7694 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.1701, allocations: 42.56 kB / 0.7694 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.1702, allocations: 16.91 kB / 0.7694 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1702, allocations: 3.938 kB / 0.7694 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1702, allocations: 30.56 kB / 0.7694 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1702, allocations: 4 kB / 0.7694 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003028/0.1705, allocations: 77.55 kB / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1706, allocations: 51.41 kB / 0.7696 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.1707, allocations: 101.8 kB / 0.7697 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1707, allocations: 25.7 kB / 0.7697 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.1707, allocations: 80.14 kB / 0.7698 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.1708, allocations: 12.59 kB / 0.7698 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1708, allocations: 17.7 kB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1709, allocations: 318.8 kB / 0.7701 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.535e-05/0.171, allocations: 11.98 kB / 0.7701 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.171, allocations: 15.92 kB / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1712, allocations: 32.91 kB / 0.7702 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1712, allocations: 0 / 0.7702 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000172/0.1714, allocations: 57.67 kB / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1714, allocations: 4 kB / 0.7702 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1714, allocations: 3.938 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1714, allocations: 0 / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1715, allocations: 12.02 kB / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1715, allocations: 4 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.1716, allocations: 0 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1716, allocations: 3.984 kB / 0.7702 GB, free: 4.211 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 7.503e-05/0.1717, allocations: 114.4 kB / 0.7703 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.1717, allocations: 4 kB / 0.7704 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.1718, allocations: 7.062 kB / 0.7704 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1718, allocations: 4 kB / 0.7704 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1718, allocations: 4 kB / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1718, allocations: 0 / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.1719, allocations: 161.6 kB / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1719, allocations: 7.938 kB / 0.7705 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/0.172, allocations: 7.984 kB / 0.7705 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.172, allocations: 0 / 0.7705 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.172, allocations: 3.938 kB / 0.7705 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.172, allocations: 3.984 kB / 0.7705 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.172, allocations: 4 kB / 0.7705 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1722, allocations: 85.06 kB / 0.7706 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.1723, allocations: 85.09 kB / 0.7707 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1723, allocations: 3.938 kB / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.1724, allocations: 0 / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.1724, allocations: 8.125 kB / 0.7707 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1724, allocations: 4.031 kB / 0.7707 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.1725, allocations: 87.25 kB / 0.7708 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1725, allocations: 4 kB / 0.7708 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002001/0.1727, allocations: 8 kB / 0.7708 GB, free: 3.523 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 (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 Backend phase and start with SimCode phase: time 0.0001737/0.1729, allocations: 115.1 kB / 0.7709 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1731, allocations: 31.97 kB / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1731, allocations: 0 / 0.771 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.414e-05/0.1731, allocations: 19.98 kB / 0.771 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.1734, allocations: 4 kB / 0.771 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.1737, allocations: 118.6 kB / 0.7711 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.174, allocations: 0.6768 MB / 0.7718 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.31e-05/0.174, allocations: 15.92 kB / 0.7718 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1741, allocations: 11.44 kB / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1741, allocations: 0 / 0.7718 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of Templates: time 0.002915/0.177, allocations: 0.7306 MB / 0.7725 GB, free: 1.754 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)