Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 95.88 kB / 15.68 MB, free: 488 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.001651/0.001651, allocations: 174.2 kB / 16.56 MB, free: 6.391 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.314/1.314, allocations: 223.2 MB / 240.5 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6545/0.6545, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 8 kB / 493.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 77.16 MB / 0.5569 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001137/0.1443, allocations: 0.9784 MB / 0.5578 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008471/0.1452, allocations: 0.572 MB / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.1452, allocations: 4 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.1452, allocations: 3.938 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.053e-05/0.1453, allocations: 7.984 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.1456, allocations: 91.67 kB / 0.5585 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.1457, allocations: 19.95 kB / 0.5585 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.1457, allocations: 0 / 0.5585 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.1458, allocations: 15.98 kB / 0.5585 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.1458, allocations: 7.938 kB / 0.5585 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1458, allocations: 0 / 0.5585 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.1461, allocations: 163.8 kB / 0.5587 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.1461, allocations: 11.91 kB / 0.5587 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.1462, allocations: 29.7 kB / 0.5587 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1463, allocations: 64.14 kB / 0.5588 GB, free: 9.609 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.1463, allocations: 0 / 0.5588 GB, free: 9.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1463, allocations: 0 / 0.5588 GB, free: 9.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1464, allocations: 0 / 0.5588 GB, free: 9.609 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004419/0.1468, allocations: 359.3 kB / 0.5591 GB, free: 9.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.709e-05/0.1469, allocations: 12.02 kB / 0.5591 GB, free: 9.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.1473, allocations: 23.97 kB / 0.5591 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1474, allocations: 159.1 kB / 0.5593 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1474, allocations: 4 kB / 0.5593 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1475, allocations: 3.906 kB / 0.5593 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1476, allocations: 69.59 kB / 0.5594 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1477, allocations: 0 / 0.5594 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.1477, allocations: 0 / 0.5594 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1477, allocations: 3.938 kB / 0.5594 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1478, allocations: 27.97 kB / 0.5594 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.148, allocations: 157.7 kB / 0.5596 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.1483, allocations: 66.58 kB / 0.5596 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1484, allocations: 7.938 kB / 0.5596 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.1484, allocations: 34.52 kB / 0.5597 GB, free: 8.539 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1484, allocations: 0 / 0.5597 GB, free: 8.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.003471/0.1519, allocations: 0.5919 MB / 0.5602 GB, free: 7.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.1519, allocations: 51.41 kB / 0.5603 GB, free: 7.832 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.152, allocations: 93.86 kB / 0.5604 GB, free: 7.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.152, allocations: 25.7 kB / 0.5604 GB, free: 7.699 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.152, allocations: 84.27 kB / 0.5605 GB, free: 7.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.1521, allocations: 19.7 kB / 0.5605 GB, free: 7.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.1521, allocations: 4 kB / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1522, allocations: 314.8 kB / 0.5608 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1523, allocations: 31.97 kB / 0.5608 GB, free: 7.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1525, allocations: 39.97 kB / 0.5609 GB, free: 7.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.1526, allocations: 43.97 kB / 0.5609 GB, free: 7.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1526, allocations: 0 / 0.5609 GB, free: 7.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003381/0.153, allocations: 121.5 kB / 0.561 GB, free: 7.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.153, allocations: 7.953 kB / 0.561 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.153, allocations: 4 kB / 0.561 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.153, allocations: 0 / 0.561 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.1533, allocations: 23.97 kB / 0.5611 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1533, allocations: 0 / 0.5611 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.1534, allocations: 8 kB / 0.5611 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.1535, allocations: 7.984 kB / 0.5611 GB, free: 6.984 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 (7): * Single equations (assignments): 7 * 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.484e-05/0.1535, allocations: 105.8 kB / 0.5612 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.1536, allocations: 8 kB / 0.5612 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/0.1536, allocations: 11.92 kB / 0.5612 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1536, allocations: 3.984 kB / 0.5612 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1537, allocations: 0 / 0.5612 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1537, allocations: 0 / 0.5612 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1538, allocations: 191.7 kB / 0.5614 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1538, allocations: 4.062 kB / 0.5614 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.1541, allocations: 27.91 kB / 0.5614 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1541, allocations: 0 / 0.5614 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1541, allocations: 3.953 kB / 0.5614 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1541, allocations: 3.938 kB / 0.5614 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1541, allocations: 4 kB / 0.5614 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005154/0.1546, allocations: 192.9 kB / 0.5616 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.1547, allocations: 77.11 kB / 0.5617 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1547, allocations: 4 kB / 0.5617 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1549, allocations: 20.03 kB / 0.5617 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.1549, allocations: 4 kB / 0.5617 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.1549, allocations: 7.922 kB / 0.5617 GB, free: 6.234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.995e-05/0.155, allocations: 79.28 kB / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.155, allocations: 0 / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1552, allocations: 31.94 kB / 0.5618 GB, free: 6.125 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002089/0.1555, allocations: 135.9 kB / 0.562 GB, free: 5.984 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1558, allocations: 79.94 kB / 0.562 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1558, allocations: 0 / 0.562 GB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.156, allocations: 51.89 kB / 0.5621 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.1562, allocations: 8.391 kB / 0.5621 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005973/0.1568, allocations: 170.8 kB / 0.5622 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.157, allocations: 0.6809 MB / 0.5629 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.1572, allocations: 27.98 kB / 0.5629 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/0.1573, allocations: 15.42 kB / 0.563 GB, free: 4.906 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1573, allocations: 0 / 0.563 GB, free: 4.906 MB / 430.1 MB Notification: Performance of Templates: time 0.003631/0.1609, allocations: 1.434 MB / 0.5644 GB, free: 3.523 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)