Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001011/0.001011, allocations: 88.17 kB / 15.7 MB, free: 460 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.00124/0.00124, allocations: 174.5 kB / 16.58 MB, free: 6.453 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.481/1.481, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7048/0.7048, allocations: 115.5 MB / 407.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003076, allocations: 12 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 77.52 MB / 0.5593 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001472/0.1359, allocations: 1.122 MB / 0.5604 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008617/0.1368, allocations: 0.5504 MB / 0.5609 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.1368, allocations: 0 / 0.5609 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1368, allocations: 3.938 kB / 0.561 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.1369, allocations: 8 kB / 0.561 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.1373, allocations: 79.64 kB / 0.561 GB, free: 7.641 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.546e-05/0.1373, allocations: 23.92 kB / 0.5611 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.124e-05/0.1374, allocations: 7.922 kB / 0.5611 GB, free: 7.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.43e-05/0.1375, allocations: 7.938 kB / 0.5611 GB, free: 7.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.1375, allocations: 15.92 kB / 0.5611 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.1375, allocations: 0 / 0.5611 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.1378, allocations: 151.7 kB / 0.5612 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.1378, allocations: 3.984 kB / 0.5612 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.1379, allocations: 25.7 kB / 0.5613 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.138, allocations: 76.12 kB / 0.5613 GB, free: 7.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.138, allocations: 0 / 0.5613 GB, free: 7.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.138, allocations: 0 / 0.5613 GB, free: 7.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.138, allocations: 0 / 0.5613 GB, free: 7.328 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.0004319/0.1385, allocations: 351.3 kB / 0.5617 GB, free: 6.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1385, allocations: 12.03 kB / 0.5617 GB, free: 6.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.1389, allocations: 31.86 kB / 0.5617 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1391, allocations: 167 kB / 0.5619 GB, free: 6.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1391, allocations: 4 kB / 0.5619 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1391, allocations: 0 / 0.5619 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.1393, allocations: 73.59 kB / 0.5619 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.1394, allocations: 0 / 0.5619 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1394, allocations: 4 kB / 0.5619 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1394, allocations: 0 / 0.5619 GB, free: 6.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.1397, allocations: 67.92 kB / 0.562 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.1401, allocations: 276.9 kB / 0.5623 GB, free: 6.219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.1403, allocations: 70.41 kB / 0.5623 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.1405, allocations: 36.89 kB / 0.5624 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1405, allocations: 0 / 0.5624 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1405, allocations: 38.56 kB / 0.5624 GB, free: 6.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1405, allocations: 0 / 0.5624 GB, free: 6.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000521/0.1411, allocations: 137.6 kB / 0.5625 GB, free: 5.914 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1411, allocations: 51.41 kB / 0.5626 GB, free: 5.852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.397e-05/0.1412, allocations: 93.86 kB / 0.5627 GB, free: 5.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1413, allocations: 29.7 kB / 0.5627 GB, free: 5.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.1413, allocations: 87.98 kB / 0.5628 GB, free: 5.625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.1413, allocations: 7.984 kB / 0.5628 GB, free: 5.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.1413, allocations: 4.031 kB / 0.5628 GB, free: 5.613 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1414, allocations: 310.8 kB / 0.5631 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1416, allocations: 35.97 kB / 0.5631 GB, free: 5.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1417, allocations: 31.97 kB / 0.5632 GB, free: 5.234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1418, allocations: 31.94 kB / 0.5632 GB, free: 5.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1419, allocations: 3.984 kB / 0.5632 GB, free: 5.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002889/0.1422, allocations: 101.6 kB / 0.5633 GB, free: 5.094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1422, allocations: 4 kB / 0.5633 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1422, allocations: 3.938 kB / 0.5633 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1422, allocations: 0 / 0.5633 GB, free: 5.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1423, allocations: 23.95 kB / 0.5633 GB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.1424, allocations: 3.984 kB / 0.5633 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.1425, allocations: 8 kB / 0.5633 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1425, allocations: 3.984 kB / 0.5633 GB, free: 5.047 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 7.3e-05/0.1426, allocations: 113.8 kB / 0.5635 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1426, allocations: 4 kB / 0.5635 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.1426, allocations: 11.11 kB / 0.5635 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1426, allocations: 0 / 0.5635 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1426, allocations: 0 / 0.5635 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1427, allocations: 0 / 0.5635 GB, free: 4.914 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.1428, allocations: 169.6 kB / 0.5636 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1428, allocations: 0 / 0.5636 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.1429, allocations: 19.97 kB / 0.5637 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.143, allocations: 0 / 0.5637 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.143, allocations: 3.938 kB / 0.5637 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.143, allocations: 8 kB / 0.5637 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.143, allocations: 0 / 0.5637 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.1433, allocations: 199.4 kB / 0.5639 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.1434, allocations: 84.97 kB / 0.5639 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1434, allocations: 0 / 0.5639 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1435, allocations: 11.98 kB / 0.5639 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.1436, allocations: 4 kB / 0.5639 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1436, allocations: 0 / 0.5639 GB, free: 4.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.1437, allocations: 83.27 kB / 0.564 GB, free: 4.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1437, allocations: 4.031 kB / 0.564 GB, free: 4.254 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1439, allocations: 12 kB / 0.564 GB, free: 4.242 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 (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 Backend phase and start with SimCode phase: time 0.0001562/0.1441, allocations: 111.2 kB / 0.5642 GB, free: 4.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.1444, allocations: 67.94 kB / 0.5642 GB, free: 4.055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1444, allocations: 0 / 0.5642 GB, free: 4.055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1445, allocations: 35.91 kB / 0.5642 GB, free: 4.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.1448, allocations: 6.188 kB / 0.5643 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.1452, allocations: 144.6 kB / 0.5644 GB, free: 3.848 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.1455, allocations: 0.677 MB / 0.5651 GB, free: 3.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.776e-05/0.1456, allocations: 12 kB / 0.5651 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.1456, allocations: 7.438 kB / 0.5651 GB, free: 3.125 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1456, allocations: 0 / 0.5651 GB, free: 3.125 MB / 430.1 MB Notification: Performance of Templates: time 0.002934/0.1486, allocations: 0.6939 MB / 0.5658 GB, free: 2.438 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)