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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_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.001403/0.001403, allocations: 99.98 kB / 16.4 MB, free: 6.461 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.001206/0.001206, allocations: 196 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.844/0.844, allocations: 126.7 MB / 417.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 71.11 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1575, allocations: 78.86 MB / 0.6505 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003336/0.1609, allocations: 1.392 MB / 0.6519 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.162, allocations: 0.5985 MB / 0.6525 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.1621, allocations: 0 / 0.6525 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.1621, allocations: 4 kB / 0.6525 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.1622, allocations: 3.938 kB / 0.6525 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.1628, allocations: 95.56 kB / 0.6526 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.1629, allocations: 19.94 kB / 0.6526 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.163, allocations: 19.92 kB / 0.6526 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.1631, allocations: 11.92 kB / 0.6526 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.1631, allocations: 15.92 kB / 0.6526 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1631, allocations: 4 kB / 0.6526 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.1635, allocations: 143.8 kB / 0.6528 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.1635, allocations: 3.984 kB / 0.6528 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.121e-05/0.1636, allocations: 11.94 kB / 0.6528 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.1639, allocations: 96.03 kB / 0.6529 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1639, allocations: 0 / 0.6529 GB, free: 1.176 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1639, allocations: 11.94 kB / 0.6529 GB, free: 1.164 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1639, allocations: 0 / 0.6529 GB, free: 1.164 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.000559/0.1645, allocations: 355.2 kB / 0.6532 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1645, allocations: 12.03 kB / 0.6533 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.1646, allocations: 34.69 kB / 0.6533 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004184/0.165, allocations: 32.89 kB / 0.6533 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1652, allocations: 168.3 kB / 0.6535 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1652, allocations: 4.375 kB / 0.6535 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.1652, allocations: 384 / 0.6535 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.1654, allocations: 66.2 kB / 0.6535 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1655, allocations: 3.938 kB / 0.6536 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1655, allocations: 0 / 0.6536 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1655, allocations: 0 / 0.6536 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.1658, allocations: 55.94 kB / 0.6536 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.1663, allocations: 280.8 kB / 0.6539 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.1665, allocations: 62.55 kB / 0.6539 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1667, allocations: 32.89 kB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1667, allocations: 3.938 kB / 0.654 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1667, allocations: 30.56 kB / 0.654 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.1667, allocations: 0 / 0.654 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000522/0.1673, allocations: 117.5 kB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1673, allocations: 51.41 kB / 0.6542 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.1674, allocations: 105.8 kB / 0.6543 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1674, allocations: 25.7 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/0.1675, allocations: 92.27 kB / 0.6544 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.1675, allocations: 3.953 kB / 0.6544 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.1676, allocations: 17.7 kB / 0.6544 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1677, allocations: 310.8 kB / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1679, allocations: 31.91 kB / 0.6547 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.168, allocations: 31.97 kB / 0.6547 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.1683, allocations: 56.8 kB / 0.6548 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.1683, allocations: 3.938 kB / 0.6548 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003136/0.1686, allocations: 93.59 kB / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1686, allocations: 5.875 kB / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1686, allocations: 0 / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1687, allocations: 0 / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1688, allocations: 15.97 kB / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.1688, allocations: 0 / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.845e-05/0.1689, allocations: 11.98 kB / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1689, allocations: 0 / 0.6549 GB, free: 14.85 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.789e-05/0.169, allocations: 117.8 kB / 0.655 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.169, allocations: 4 kB / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.1691, allocations: 3.125 kB / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1691, allocations: 0 / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1691, allocations: 0 / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1691, allocations: 0 / 0.655 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.1693, allocations: 181.3 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1693, allocations: 4 kB / 0.6552 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1694, allocations: 11.98 kB / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1695, allocations: 0 / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1695, allocations: 0 / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1695, allocations: 0 / 0.6552 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1695, allocations: 11.94 kB / 0.6552 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.1699, allocations: 187.4 kB / 0.6554 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.1699, allocations: 81.06 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1699, allocations: 0 / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1701, allocations: 11.98 kB / 0.6555 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.1701, allocations: 0 / 0.6555 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.1701, allocations: 3.984 kB / 0.6555 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.1702, allocations: 91.25 kB / 0.6556 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1702, allocations: 0 / 0.6556 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002502/0.1704, allocations: 15.94 kB / 0.6556 GB, free: 14.05 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.0007626/0.1712, allocations: 0.7356 MB / 0.6563 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.1716, allocations: 55.94 kB / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1716, allocations: 0 / 0.6564 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1717, allocations: 32.06 kB / 0.6564 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.172, allocations: 0 / 0.6564 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.1726, allocations: 172.2 kB / 0.6566 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1729, allocations: 0.6768 MB / 0.6572 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.148e-05/0.173, allocations: 12.05 kB / 0.6573 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.1731, allocations: 19.42 kB / 0.6573 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.1731, allocations: 0 / 0.6573 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.1957, allocations: 1.652 MB / 0.6589 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.202, allocations: 11.03 kB / 0.6589 GB, free: 10.7 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.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_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)