Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001308/0.001308, allocations: 107.4 kB / 16.41 MB, free: 6.43 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.001222/0.001222, allocations: 189.2 kB / 17.34 MB, free: 5.727 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8473/0.8473, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 72.25 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1469, allocations: 78.86 MB / 0.6505 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002739/0.1497, allocations: 1.655 MB / 0.6521 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.1504, allocations: 402.8 kB / 0.6525 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.1505, allocations: 0 / 0.6525 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.1506, allocations: 11.86 kB / 0.6525 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.1507, allocations: 23.73 kB / 0.6526 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.1512, allocations: 121.8 kB / 0.6527 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1513, allocations: 119.6 kB / 0.6528 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1515, allocations: 40.25 kB / 0.6528 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/0.1515, allocations: 35.86 kB / 0.6529 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.1516, allocations: 39.78 kB / 0.6529 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1516, allocations: 8 kB / 0.6529 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.1518, allocations: 67.95 kB / 0.653 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.1518, allocations: 27.95 kB / 0.653 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.112e-05/0.1519, allocations: 47.73 kB / 0.6531 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1521, allocations: 127.5 kB / 0.6532 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1521, allocations: 0 / 0.6532 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1521, allocations: 0 / 0.6532 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1521, allocations: 0 / 0.6532 GB, free: 0.9102 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006018/0.1527, allocations: 422.9 kB / 0.6536 GB, free: 456 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1528, allocations: 12.03 kB / 0.6536 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.1529, allocations: 42.69 kB / 0.6536 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.1531, allocations: 28.86 kB / 0.6537 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.1534, allocations: 203.1 kB / 0.6539 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.1534, allocations: 34.27 kB / 0.6539 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.1535, allocations: 8.375 kB / 0.6539 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.1538, allocations: 107.8 kB / 0.654 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1538, allocations: 4 kB / 0.654 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.1538, allocations: 7.938 kB / 0.654 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1538, allocations: 0 / 0.654 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.1541, allocations: 79.94 kB / 0.6541 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007132/0.1548, allocations: 392.4 kB / 0.6545 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.1553, allocations: 122.6 kB / 0.6546 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.1555, allocations: 44.88 kB / 0.6546 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.1555, allocations: 0 / 0.6546 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1555, allocations: 34.56 kB / 0.6546 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1555, allocations: 0 / 0.6546 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004574/0.156, allocations: 137.5 kB / 0.6548 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.156, allocations: 55.34 kB / 0.6548 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1562, allocations: 134 kB / 0.655 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1562, allocations: 29.7 kB / 0.655 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.1563, allocations: 108 kB / 0.6551 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.1563, allocations: 27.94 kB / 0.6551 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.1563, allocations: 17.72 kB / 0.6551 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1565, allocations: 322.8 kB / 0.6554 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.1566, allocations: 27.97 kB / 0.6555 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1568, allocations: 37.7 kB / 0.6555 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.157, allocations: 89.55 kB / 0.6556 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.157, allocations: 0 / 0.6556 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002672/0.1573, allocations: 110.1 kB / 0.6557 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1573, allocations: 5.719 kB / 0.6557 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1573, allocations: 3.938 kB / 0.6557 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1573, allocations: 7.969 kB / 0.6557 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1574, allocations: 19.98 kB / 0.6557 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1575, allocations: 4.062 kB / 0.6557 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.023e-05/0.1575, allocations: 15.94 kB / 0.6558 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1576, allocations: 4 kB / 0.6558 GB, free: 14.02 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 0.0001057/0.1577, allocations: 113.8 kB / 0.6559 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.1577, allocations: 7.953 kB / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.1578, allocations: 16.7 kB / 0.6559 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1578, allocations: 11.94 kB / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1578, allocations: 0 / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1578, allocations: 0 / 0.6559 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.158, allocations: 205.6 kB / 0.6561 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.158, allocations: 0 / 0.6561 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-05/0.1581, allocations: 15.94 kB / 0.6561 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.1581, allocations: 7.922 kB / 0.6561 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1581, allocations: 0 / 0.6561 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1582, allocations: 3.938 kB / 0.6561 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1582, allocations: 0 / 0.6561 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.1585, allocations: 199.5 kB / 0.6563 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.1585, allocations: 89 kB / 0.6564 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.1586, allocations: 4 kB / 0.6564 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1587, allocations: 15.92 kB / 0.6564 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1588, allocations: 3.984 kB / 0.6564 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1588, allocations: 4 kB / 0.6564 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.328e-05/0.1589, allocations: 115.2 kB / 0.6565 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1589, allocations: 0 / 0.6565 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002331/0.1591, allocations: 23.95 kB / 0.6566 GB, free: 13.11 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 (7): * Single equations (assignments): 7 * 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.0006062/0.1597, allocations: 0.7358 MB / 0.6573 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.16, allocations: 75.88 kB / 0.6573 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.16, allocations: 0 / 0.6573 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1601, allocations: 35.98 kB / 0.6574 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.1605, allocations: 33.92 kB / 0.6574 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1624, allocations: 1.548 MB / 0.6589 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1627, allocations: 0.7041 MB / 0.6596 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.603e-05/0.1628, allocations: 8.672 kB / 0.6596 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.1628, allocations: 19.44 kB / 0.6596 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1629, allocations: 4 kB / 0.6596 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.1982, allocations: 2.735 MB / 0.6623 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.173, allocations: 0 / 0.6623 GB, free: 7.199 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure_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_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)