Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009538/0.0009539, allocations: 96.66 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009713/0.0009714, allocations: 176.1 kB / 16.57 MB, free: 6.398 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.337/1.337, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6592/0.6592, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002981, allocations: 16 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1269, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001334/0.1282, allocations: 1.11 MB / 0.5579 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00035/0.1286, allocations: 179.6 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.1286, allocations: 0 / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.1287, allocations: 0 / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.1287, allocations: 4 kB / 0.5581 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.1289, allocations: 23.95 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.619e-05/0.1289, allocations: 11.98 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.129, allocations: 11.98 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.1291, allocations: 11.92 kB / 0.5582 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.333e-05/0.1291, allocations: 8 kB / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1291, allocations: 3.938 kB / 0.5582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.1292, allocations: 27.91 kB / 0.5582 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.869e-06/0.1292, allocations: 4 kB / 0.5582 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.1292, allocations: 33.64 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.998e-05/0.1293, allocations: 24.23 kB / 0.5583 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1293, allocations: 0 / 0.5583 GB, free: 10.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1294, allocations: 8 kB / 0.5583 GB, free: 10.14 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1294, allocations: 0 / 0.5583 GB, free: 10.14 MB / 430.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.0003976/0.1298, allocations: 339.3 kB / 0.5586 GB, free: 9.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1298, allocations: 8.031 kB / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.592e-05/0.1299, allocations: 7.906 kB / 0.5586 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.13, allocations: 163.1 kB / 0.5588 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.13, allocations: 7.984 kB / 0.5588 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.934e-06/0.13, allocations: 4 kB / 0.5588 GB, free: 9.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1302, allocations: 57.62 kB / 0.5588 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.1302, allocations: 0 / 0.5588 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1303, allocations: 0 / 0.5588 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1303, allocations: 0 / 0.5588 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.1305, allocations: 47.91 kB / 0.5589 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.1308, allocations: 252.9 kB / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.1309, allocations: 46.56 kB / 0.5592 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.1309, allocations: 0 / 0.5592 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.131, allocations: 34.56 kB / 0.5592 GB, free: 9.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.131, allocations: 0 / 0.5592 GB, free: 9.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003547/0.1313, allocations: 101.6 kB / 0.5593 GB, free: 8.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1314, allocations: 51.41 kB / 0.5593 GB, free: 8.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.1314, allocations: 101.8 kB / 0.5594 GB, free: 8.758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1315, allocations: 25.7 kB / 0.5595 GB, free: 8.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.1315, allocations: 80.14 kB / 0.5595 GB, free: 8.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.1315, allocations: 11.91 kB / 0.5595 GB, free: 8.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.1315, allocations: 4.125 kB / 0.5595 GB, free: 8.629 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.1316, allocations: 310.8 kB / 0.5598 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.1317, allocations: 23.91 kB / 0.5599 GB, free: 8.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.305e-05/0.1318, allocations: 23.98 kB / 0.5599 GB, free: 8.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.1319, allocations: 20.05 kB / 0.5599 GB, free: 8.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1319, allocations: 4 kB / 0.5599 GB, free: 8.246 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.1321, allocations: 93.45 kB / 0.56 GB, free: 8.148 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1321, allocations: 4 kB / 0.56 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1322, allocations: 0 / 0.56 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1322, allocations: 0 / 0.56 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.916e-05/0.1323, allocations: 11.98 kB / 0.56 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1323, allocations: 0 / 0.56 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.1323, allocations: 11.94 kB / 0.56 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-06/0.1323, allocations: 0 / 0.56 GB, free: 8.121 MB / 430.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.723e-05/0.1324, allocations: 117.9 kB / 0.5601 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.1324, allocations: 3.953 kB / 0.5601 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.1327, allocations: 84.72 kB / 0.5602 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1327, allocations: 4 kB / 0.5602 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1327, allocations: 8 kB / 0.5602 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1327, allocations: 3.984 kB / 0.5602 GB, free: 7.887 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.1329, allocations: 157.7 kB / 0.5604 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1329, allocations: 0 / 0.5604 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.103e-05/0.133, allocations: 11.98 kB / 0.5604 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.133, allocations: 7.953 kB / 0.5604 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.443e-06/0.133, allocations: 240 / 0.5604 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.133, allocations: 0 / 0.5604 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.133, allocations: 0 / 0.5604 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1333, allocations: 179.5 kB / 0.5606 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.1333, allocations: 81.02 kB / 0.5607 GB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1333, allocations: 11.88 kB / 0.5607 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.1334, allocations: 12 kB / 0.5607 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1335, allocations: 3.984 kB / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1335, allocations: 0 / 0.5607 GB, free: 7.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.209e-05/0.1335, allocations: 83.28 kB / 0.5608 GB, free: 7.266 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1335, allocations: 0 / 0.5608 GB, free: 7.266 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1338, allocations: 4 kB / 0.5608 GB, free: 7.262 MB / 430.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.178e-05/0.1338, allocations: 95.94 kB / 0.5609 GB, free: 7.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1341, allocations: 51.95 kB / 0.5609 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1341, allocations: 3.938 kB / 0.5609 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.1342, allocations: 32.05 kB / 0.5609 GB, free: 7.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.1344, allocations: 5.656 kB / 0.5609 GB, free: 7.066 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.1346, allocations: 132.5 kB / 0.5611 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.1348, allocations: 0.6809 MB / 0.5617 GB, free: 6.199 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.226e-05/0.1349, allocations: 4 kB / 0.5617 GB, free: 6.195 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.1349, allocations: 7.438 kB / 0.5617 GB, free: 6.188 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1349, allocations: 0 / 0.5617 GB, free: 6.188 MB / 430.1 MB Notification: Performance of Templates: time 0.002112/0.137, allocations: 416.6 kB / 0.5621 GB, free: 5.789 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)