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.00126/0.00126, allocations: 111.8 kB / 15.99 MB, free: 6.348 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.001198/0.001199, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.206/1.206, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 293.5 kB / 291 MB, free: 14.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8599/0.8599, allocations: 169.2 MB / 0.4985 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001733, allocations: 90.05 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1579, allocations: 86.97 MB / 0.6803 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002273/0.1603, allocations: 1.354 MB / 0.6816 GB, free: 7.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.1612, allocations: 0.5586 MB / 0.6821 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.581e-05/0.1612, allocations: 0 / 0.6821 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.1612, allocations: 0 / 0.6821 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.1613, allocations: 11.92 kB / 0.6822 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.1617, allocations: 83.7 kB / 0.6822 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.957e-05/0.1618, allocations: 19.88 kB / 0.6822 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.1618, allocations: 3.938 kB / 0.6823 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.1619, allocations: 4 kB / 0.6823 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.135e-05/0.1619, allocations: 11.98 kB / 0.6823 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.1619, allocations: 0 / 0.6823 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.1622, allocations: 143.7 kB / 0.6824 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.1622, allocations: 12 kB / 0.6824 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.1622, allocations: 7.938 kB / 0.6824 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1624, allocations: 60.16 kB / 0.6825 GB, free: 6.305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1624, allocations: 0 / 0.6825 GB, free: 6.305 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1624, allocations: 7.984 kB / 0.6825 GB, free: 6.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1624, allocations: 0 / 0.6825 GB, free: 6.297 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000371/0.1628, allocations: 339.5 kB / 0.6828 GB, free: 5.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1628, allocations: 11.97 kB / 0.6828 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004987/0.1634, allocations: 32.91 kB / 0.6829 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1635, allocations: 172.3 kB / 0.683 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1635, allocations: 384 / 0.683 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1635, allocations: 384 / 0.683 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1637, allocations: 50.17 kB / 0.6831 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.1637, allocations: 192 / 0.6831 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1637, allocations: 3.938 kB / 0.6831 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1637, allocations: 4 kB / 0.6831 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1638, allocations: 23.97 kB / 0.6831 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.164, allocations: 161.7 kB / 0.6833 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1641, allocations: 42.58 kB / 0.6833 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/0.1642, allocations: 24.91 kB / 0.6833 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1642, allocations: 0 / 0.6833 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1643, allocations: 34.5 kB / 0.6834 GB, free: 5.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.1643, allocations: 0 / 0.6834 GB, free: 5.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002813/0.1646, allocations: 73.69 kB / 0.6834 GB, free: 5.172 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.1646, allocations: 55.44 kB / 0.6835 GB, free: 5.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.1647, allocations: 93.86 kB / 0.6836 GB, free: 5.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1647, allocations: 29.7 kB / 0.6836 GB, free: 4.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.1647, allocations: 84.12 kB / 0.6837 GB, free: 4.883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1648, allocations: 7.844 kB / 0.6837 GB, free: 4.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1648, allocations: 17.7 kB / 0.6837 GB, free: 4.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.1649, allocations: 314.8 kB / 0.684 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.165, allocations: 15.98 kB / 0.684 GB, free: 4.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-05/0.165, allocations: 19.92 kB / 0.684 GB, free: 4.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1651, allocations: 24.84 kB / 0.6841 GB, free: 4.473 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1651, allocations: 0 / 0.6841 GB, free: 4.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001591/0.1653, allocations: 57.73 kB / 0.6841 GB, free: 4.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1653, allocations: 8 kB / 0.6841 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1653, allocations: 3.938 kB / 0.6841 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1654, allocations: 3.984 kB / 0.6841 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.1655, allocations: 8 kB / 0.6841 GB, free: 4.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1655, allocations: 11.92 kB / 0.6841 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.1655, allocations: 7.984 kB / 0.6842 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.1656, allocations: 0 / 0.6842 GB, free: 4.367 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 6.069e-05/0.1656, allocations: 109.9 kB / 0.6843 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.1656, allocations: 7.938 kB / 0.6843 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.1657, allocations: 7.062 kB / 0.6843 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1657, allocations: 3.938 kB / 0.6843 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1657, allocations: 0 / 0.6843 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1657, allocations: 0 / 0.6843 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.458e-05/0.1658, allocations: 157.8 kB / 0.6844 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1658, allocations: 0 / 0.6844 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.1659, allocations: 12 kB / 0.6844 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1659, allocations: 7.969 kB / 0.6844 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.1659, allocations: 3.938 kB / 0.6844 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1659, allocations: 0 / 0.6844 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1659, allocations: 0 / 0.6844 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.1661, allocations: 89.02 kB / 0.6845 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.1662, allocations: 85.09 kB / 0.6846 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1662, allocations: 3.938 kB / 0.6846 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.1663, allocations: 4 kB / 0.6846 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.1663, allocations: 3.984 kB / 0.6846 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1663, allocations: 0 / 0.6846 GB, free: 3.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.447e-05/0.1663, allocations: 83.22 kB / 0.6847 GB, free: 3.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1663, allocations: 0 / 0.6847 GB, free: 3.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.1665, allocations: 12 kB / 0.6847 GB, free: 3.691 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 (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.0001472/0.1667, allocations: 117.1 kB / 0.6848 GB, free: 3.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.1669, allocations: 31.97 kB / 0.6849 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1669, allocations: 0 / 0.6849 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.167, allocations: 11.98 kB / 0.6849 GB, free: 3.523 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1672, allocations: 13.44 kB / 0.6849 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.1675, allocations: 144.3 kB / 0.685 GB, free: 3.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.1677, allocations: 0.6768 MB / 0.6857 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.1677, allocations: 15.42 kB / 0.6857 GB, free: 2.621 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1677, allocations: 3.938 kB / 0.6857 GB, free: 2.617 MB / 494.1 MB Notification: Performance of Templates: time 0.00189/0.1696, allocations: 0.7877 MB / 0.6865 GB, free: 1.84 MB / 494.1 MB 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)