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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.001985/0.001985, allocations: 103.5 kB / 16.4 MB, free: 6.457 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.001764/0.001764, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.82/0.82, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 73.78 kB / 0.5735 GB, free: 26.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1528, allocations: 78.87 MB / 0.6505 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002545/0.1554, allocations: 1.389 MB / 0.6519 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005028/0.1559, allocations: 213.3 kB / 0.6521 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.1559, allocations: 0 / 0.6521 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.156, allocations: 7.922 kB / 0.6521 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.156, allocations: 0 / 0.6521 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.1562, allocations: 15.92 kB / 0.6521 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.1563, allocations: 31.84 kB / 0.6522 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.1564, allocations: 8 kB / 0.6522 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.134e-05/0.1564, allocations: 11.92 kB / 0.6522 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.599e-05/0.1565, allocations: 8 kB / 0.6522 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1565, allocations: 4 kB / 0.6522 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.991e-05/0.1566, allocations: 27.97 kB / 0.6522 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1566, allocations: 7.938 kB / 0.6522 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.1566, allocations: 8 kB / 0.6522 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.1568, allocations: 36.11 kB / 0.6523 GB, free: 1.703 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1568, allocations: 0 / 0.6523 GB, free: 1.703 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1568, allocations: 0 / 0.6523 GB, free: 1.703 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1568, allocations: 0 / 0.6523 GB, free: 1.703 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.0004392/0.1572, allocations: 343.4 kB / 0.6526 GB, free: 1.316 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1573, allocations: 20.02 kB / 0.6526 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.1573, allocations: 30.75 kB / 0.6526 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.1574, allocations: 0.9375 kB / 0.6526 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1576, allocations: 168.3 kB / 0.6528 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1576, allocations: 4.375 kB / 0.6528 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-06/0.1576, allocations: 384 / 0.6528 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1578, allocations: 54.17 kB / 0.6529 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1578, allocations: 3.938 kB / 0.6529 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1578, allocations: 0 / 0.6529 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1578, allocations: 7.938 kB / 0.6529 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.158, allocations: 35.95 kB / 0.6529 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.1583, allocations: 240.9 kB / 0.6531 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1585, allocations: 42.53 kB / 0.6532 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.1586, allocations: 28.84 kB / 0.6532 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1586, allocations: 0 / 0.6532 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1586, allocations: 34.5 kB / 0.6532 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1586, allocations: 0 / 0.6532 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.159, allocations: 81.64 kB / 0.6533 GB, free: 460 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.159, allocations: 55.53 kB / 0.6534 GB, free: 392 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.1591, allocations: 105.8 kB / 0.6535 GB, free: 276 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1591, allocations: 29.7 kB / 0.6535 GB, free: 240 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.1592, allocations: 80.14 kB / 0.6536 GB, free: 156 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.1592, allocations: 11.89 kB / 0.6536 GB, free: 144 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.1593, allocations: 13.72 kB / 0.6536 GB, free: 124 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1594, allocations: 318.8 kB / 0.6539 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1595, allocations: 19.98 kB / 0.6539 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.1596, allocations: 15.98 kB / 0.6539 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1598, allocations: 36.81 kB / 0.654 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1598, allocations: 3.938 kB / 0.654 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.16, allocations: 69.69 kB / 0.654 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.16, allocations: 9.75 kB / 0.654 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.16, allocations: 0 / 0.654 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.16, allocations: 4 kB / 0.6541 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.1601, allocations: 7.984 kB / 0.6541 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1601, allocations: 3.938 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.1602, allocations: 7.984 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1602, allocations: 0 / 0.6541 GB, free: 15.62 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.137e-05/0.1603, allocations: 113.8 kB / 0.6542 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.1603, allocations: 4 kB / 0.6542 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.1606, allocations: 76.77 kB / 0.6543 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1606, allocations: 0 / 0.6543 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1606, allocations: 0 / 0.6543 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1606, allocations: 0 / 0.6543 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1608, allocations: 165.6 kB / 0.6544 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1608, allocations: 0 / 0.6544 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/0.1609, allocations: 23.92 kB / 0.6544 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1609, allocations: 0 / 0.6544 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1609, allocations: 4 kB / 0.6544 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1609, allocations: 0 / 0.6544 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1609, allocations: 3.938 kB / 0.6544 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1612, allocations: 171.4 kB / 0.6546 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.333e-05/0.1612, allocations: 81.06 kB / 0.6547 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1612, allocations: 4 kB / 0.6547 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.1613, allocations: 7.984 kB / 0.6547 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1614, allocations: 0 / 0.6547 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1614, allocations: 4 kB / 0.6547 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.1614, allocations: 79.28 kB / 0.6548 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1614, allocations: 3.938 kB / 0.6548 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002166/0.1617, allocations: 8 kB / 0.6548 GB, free: 14.79 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 (3): * Single equations (assignments): 3 * 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.0005721/0.1622, allocations: 0.7006 MB / 0.6555 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.1625, allocations: 39.95 kB / 0.6555 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1625, allocations: 0 / 0.6555 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.1626, allocations: 24.05 kB / 0.6555 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.0002634/0.1628, allocations: 4 kB / 0.6555 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.1633, allocations: 156.8 kB / 0.6557 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1636, allocations: 0.6729 MB / 0.6563 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.1637, allocations: 3.984 kB / 0.6563 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1637, allocations: 15.44 kB / 0.6564 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1637, allocations: 0 / 0.6564 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.1856, allocations: 1.359 MB / 0.6577 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.158, allocations: 11.31 kB / 0.6577 GB, free: 11.83 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_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_Examples_SaturationPressureLiquid.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)