Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 100.2 kB / 16.4 MB, free: 5.969 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.0019/0.001901, allocations: 198.7 kB / 17.34 MB, free: 5.578 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8106/0.8106, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 67.8 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1672, allocations: 78.87 MB / 0.6506 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002715/0.1699, allocations: 1.268 MB / 0.6518 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.1711, allocations: 0.5676 MB / 0.6524 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.1711, allocations: 0 / 0.6524 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.1712, allocations: 3.938 kB / 0.6524 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7e-05/0.1712, allocations: 15.91 kB / 0.6524 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.1717, allocations: 91.58 kB / 0.6525 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.1718, allocations: 15.88 kB / 0.6525 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.1719, allocations: 7.984 kB / 0.6525 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.1719, allocations: 11.94 kB / 0.6525 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.172, allocations: 7.984 kB / 0.6525 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.172, allocations: 0 / 0.6525 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.1724, allocations: 143.8 kB / 0.6526 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.1724, allocations: 0 / 0.6526 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.1724, allocations: 7.938 kB / 0.6526 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1727, allocations: 103.9 kB / 0.6527 GB, free: 1.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1727, allocations: 0 / 0.6527 GB, free: 1.355 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1727, allocations: 0 / 0.6527 GB, free: 1.355 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1727, allocations: 0 / 0.6527 GB, free: 1.355 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.0005266/0.1733, allocations: 351.2 kB / 0.6531 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1733, allocations: 8.031 kB / 0.6531 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.1734, allocations: 34.75 kB / 0.6531 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.1738, allocations: 24.91 kB / 0.6531 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.174, allocations: 164.4 kB / 0.6533 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.174, allocations: 8.359 kB / 0.6533 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.174, allocations: 4.375 kB / 0.6533 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1742, allocations: 46.23 kB / 0.6534 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1742, allocations: 3.938 kB / 0.6534 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1743, allocations: 0 / 0.6534 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1743, allocations: 0 / 0.6534 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.1744, allocations: 27.91 kB / 0.6534 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.1746, allocations: 161.6 kB / 0.6535 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1748, allocations: 38.58 kB / 0.6536 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.1749, allocations: 20.91 kB / 0.6536 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1749, allocations: 0 / 0.6536 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.175, allocations: 38.56 kB / 0.6536 GB, free: 276 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.175, allocations: 0 / 0.6536 GB, free: 276 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003412/0.1753, allocations: 77.48 kB / 0.6537 GB, free: 192 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1754, allocations: 55.41 kB / 0.6538 GB, free: 124 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.1755, allocations: 93.86 kB / 0.6538 GB, free: 20 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.1755, allocations: 33.64 kB / 0.6539 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.1756, allocations: 84.27 kB / 0.654 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1756, allocations: 7.938 kB / 0.654 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.1757, allocations: 13.72 kB / 0.654 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1758, allocations: 318.8 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.1759, allocations: 11.98 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/0.176, allocations: 11.98 kB / 0.6543 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.1761, allocations: 36.91 kB / 0.6543 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1761, allocations: 0 / 0.6543 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000184/0.1763, allocations: 65.59 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1763, allocations: 7.938 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1763, allocations: 0 / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.1764, allocations: 4 kB / 0.6544 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1765, allocations: 8.031 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.1765, allocations: 3.984 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.668e-05/0.1766, allocations: 0 / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1766, allocations: 4 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB 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 8.244e-05/0.1767, allocations: 105.8 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.1767, allocations: 3.938 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.1767, allocations: 11.12 kB / 0.6545 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1767, allocations: 3.984 kB / 0.6546 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1768, allocations: 0 / 0.6546 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1768, allocations: 0 / 0.6546 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.1769, allocations: 153.7 kB / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1769, allocations: 0 / 0.6547 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.177, allocations: 7.984 kB / 0.6547 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.177, allocations: 7.938 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.177, allocations: 0 / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.177, allocations: 0 / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.177, allocations: 7.938 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.1773, allocations: 81.11 kB / 0.6548 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.1773, allocations: 92.98 kB / 0.6549 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1774, allocations: 3.938 kB / 0.6549 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.1774, allocations: 7.984 kB / 0.6549 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.1775, allocations: 4.031 kB / 0.6549 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1775, allocations: 0 / 0.6549 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.1775, allocations: 83.45 kB / 0.655 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1775, allocations: 0 / 0.655 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002137/0.1777, allocations: 12 kB / 0.655 GB, free: 14.72 MB / 0.4981 GB 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.0006053/0.1784, allocations: 0.6396 MB / 0.6556 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.1786, allocations: 35.91 kB / 0.6557 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1786, allocations: 0 / 0.6557 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/0.1787, allocations: 20.08 kB / 0.6557 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1789, allocations: 11.98 kB / 0.6557 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005187/0.1795, allocations: 156.2 kB / 0.6558 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1798, allocations: 0.6768 MB / 0.6565 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.1799, allocations: 12.06 kB / 0.6565 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.1799, allocations: 7.438 kB / 0.6565 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.18, allocations: 0 / 0.6565 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.2028, allocations: 1.571 MB / 0.658 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.191, allocations: 9.219 kB / 0.6581 GB, free: 11.63 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)