Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001233/0.001233, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.279/1.279, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002156/0.002156, allocations: 290.9 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9084/0.9084, allocations: 169.3 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 89.98 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1463, allocations: 86.98 MB / 0.6808 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002511/0.1488, allocations: 1.416 MB / 0.6822 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009207/0.1498, allocations: 0.585 MB / 0.6828 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.1498, allocations: 4 kB / 0.6828 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.1499, allocations: 0 / 0.6828 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.1499, allocations: 3.938 kB / 0.6828 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.1503, allocations: 99.56 kB / 0.6829 GB, free: 6.078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.1504, allocations: 27.86 kB / 0.6829 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.712e-05/0.1505, allocations: 11.98 kB / 0.6829 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.1505, allocations: 4 kB / 0.6829 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.326e-05/0.1506, allocations: 23.86 kB / 0.6829 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1506, allocations: 0 / 0.6829 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.1509, allocations: 147.8 kB / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.1509, allocations: 0 / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.283e-05/0.1509, allocations: 11.94 kB / 0.6831 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1511, allocations: 100.1 kB / 0.6832 GB, free: 5.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1511, allocations: 3.938 kB / 0.6832 GB, free: 5.754 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1511, allocations: 0 / 0.6832 GB, free: 5.754 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1512, allocations: 0 / 0.6832 GB, free: 5.754 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.0004413/0.1516, allocations: 355.5 kB / 0.6835 GB, free: 5.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1516, allocations: 8.031 kB / 0.6835 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004286/0.1521, allocations: 32.8 kB / 0.6836 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1522, allocations: 168.3 kB / 0.6837 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1522, allocations: 4.375 kB / 0.6837 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.1522, allocations: 384 / 0.6837 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.1525, allocations: 70.2 kB / 0.6838 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1525, allocations: 192 / 0.6838 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1525, allocations: 3.938 kB / 0.6838 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1525, allocations: 3.938 kB / 0.6838 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.1528, allocations: 51.94 kB / 0.6839 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.1532, allocations: 268.9 kB / 0.6841 GB, free: 4.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1534, allocations: 62.47 kB / 0.6842 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1536, allocations: 41.59 kB / 0.6842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.1536, allocations: 0 / 0.6842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1536, allocations: 34.56 kB / 0.6843 GB, free: 4.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1536, allocations: 0 / 0.6843 GB, free: 4.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004792/0.1541, allocations: 109.7 kB / 0.6844 GB, free: 4.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.1542, allocations: 55.34 kB / 0.6844 GB, free: 4.328 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/0.1542, allocations: 105.8 kB / 0.6845 GB, free: 4.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.1543, allocations: 25.7 kB / 0.6845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.1543, allocations: 88.05 kB / 0.6846 GB, free: 4.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.1543, allocations: 7.984 kB / 0.6846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1544, allocations: 17.7 kB / 0.6846 GB, free: 4.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1545, allocations: 314.9 kB / 0.6849 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1546, allocations: 27.91 kB / 0.685 GB, free: 3.719 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1548, allocations: 27.97 kB / 0.685 GB, free: 3.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.155, allocations: 60.88 kB / 0.6851 GB, free: 3.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.155, allocations: 3.984 kB / 0.6851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003008/0.1553, allocations: 93.42 kB / 0.6852 GB, free: 3.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1553, allocations: 4 kB / 0.6852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1554, allocations: 0 / 0.6852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1554, allocations: 4.031 kB / 0.6852 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1555, allocations: 11.98 kB / 0.6852 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1555, allocations: 7.984 kB / 0.6852 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.1556, allocations: 4 kB / 0.6852 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1556, allocations: 7.984 kB / 0.6852 GB, free: 3.488 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.827e-05/0.1557, allocations: 113.8 kB / 0.6853 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1557, allocations: 4 kB / 0.6853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.1558, allocations: 7.125 kB / 0.6853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1558, allocations: 0 / 0.6853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1558, allocations: 0 / 0.6853 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1558, allocations: 4 kB / 0.6853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.156, allocations: 161.6 kB / 0.6855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.156, allocations: 0 / 0.6855 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.1561, allocations: 19.97 kB / 0.6855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1561, allocations: 0 / 0.6855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1561, allocations: 4 kB / 0.6855 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1561, allocations: 7.938 kB / 0.6855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1561, allocations: 0 / 0.6855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.1565, allocations: 183.4 kB / 0.6857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.1565, allocations: 85.05 kB / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1565, allocations: 4 kB / 0.6858 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1567, allocations: 11.98 kB / 0.6858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1567, allocations: 0 / 0.6858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1567, allocations: 0 / 0.6858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.609e-05/0.1567, allocations: 83.27 kB / 0.6858 GB, free: 2.719 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1567, allocations: 0 / 0.6858 GB, free: 2.719 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000233/0.157, allocations: 16 kB / 0.6859 GB, free: 2.703 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.000158/0.1571, allocations: 123.1 kB / 0.686 GB, free: 2.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.1575, allocations: 55.94 kB / 0.686 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1575, allocations: 0 / 0.686 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1576, allocations: 35.97 kB / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.1579, allocations: 5.25 kB / 0.6861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.1583, allocations: 160.4 kB / 0.6862 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1586, allocations: 0.6768 MB / 0.6869 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.1586, allocations: 15.5 kB / 0.6869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1586, allocations: 0 / 0.6869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of Templates: time 0.002169/0.1608, allocations: 0.9119 MB / 0.6878 GB, free: 0.668 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)