Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.001287/0.001287, allocations: 105.9 kB / 16.4 MB, free: 6.512 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.00126/0.00126, allocations: 192 kB / 17.34 MB, free: 5.738 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8381/0.8381, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 69.39 kB / 0.5735 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1526, allocations: 78.86 MB / 0.6505 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002667/0.1553, allocations: 1.262 MB / 0.6518 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1568, allocations: 0.8401 MB / 0.6526 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.1568, allocations: 0 / 0.6526 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.1569, allocations: 3.938 kB / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.1569, allocations: 0 / 0.6526 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.1575, allocations: 123.4 kB / 0.6527 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.1576, allocations: 27.91 kB / 0.6527 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.487e-05/0.1577, allocations: 11.98 kB / 0.6528 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.1577, allocations: 15.88 kB / 0.6528 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.1578, allocations: 11.98 kB / 0.6528 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1578, allocations: 0 / 0.6528 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.1582, allocations: 163.8 kB / 0.6529 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.1582, allocations: 11.94 kB / 0.653 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.1583, allocations: 4 kB / 0.653 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.1586, allocations: 123.9 kB / 0.6531 GB, free: 1.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1586, allocations: 0 / 0.6531 GB, free: 1.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1586, allocations: 0 / 0.6531 GB, free: 1.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1586, allocations: 0 / 0.6531 GB, free: 1.027 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004865/0.1591, allocations: 371.1 kB / 0.6534 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1591, allocations: 11.97 kB / 0.6534 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.1592, allocations: 34.75 kB / 0.6535 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.1592, allocations: 4.938 kB / 0.6535 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1593, allocations: 164.4 kB / 0.6536 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/0.1594, allocations: 30.27 kB / 0.6537 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1594, allocations: 384 / 0.6537 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1596, allocations: 50 kB / 0.6537 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1596, allocations: 0 / 0.6537 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1596, allocations: 4 kB / 0.6537 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1596, allocations: 0 / 0.6537 GB, free: 268 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.1597, allocations: 23.86 kB / 0.6537 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.1599, allocations: 161.6 kB / 0.6539 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.1602, allocations: 42.61 kB / 0.6539 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.591e-05/0.1603, allocations: 24.94 kB / 0.654 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.1606, allocations: 178.2 kB / 0.6541 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1606, allocations: 34.5 kB / 0.6542 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1606, allocations: 0 / 0.6542 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002652/0.1609, allocations: 73.59 kB / 0.6542 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.161, allocations: 55.41 kB / 0.6543 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.161, allocations: 97.86 kB / 0.6544 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1611, allocations: 29.69 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.1611, allocations: 84.14 kB / 0.6545 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.1612, allocations: 11.84 kB / 0.6545 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.1612, allocations: 17.72 kB / 0.6545 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1613, allocations: 310.8 kB / 0.6548 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.372e-05/0.1614, allocations: 15.98 kB / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.1614, allocations: 8 kB / 0.6548 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.1615, allocations: 28.84 kB / 0.6549 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1616, allocations: 0 / 0.6549 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.1617, allocations: 61.61 kB / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1617, allocations: 7.938 kB / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1617, allocations: 0 / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1618, allocations: 0 / 0.6549 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.1618, allocations: 8 kB / 0.6549 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1618, allocations: 7.938 kB / 0.6549 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.1619, allocations: 7.984 kB / 0.655 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1619, allocations: 0 / 0.655 GB, free: 14.83 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 (4): * Single equations (assignments): 4 * 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 7.878e-05/0.162, allocations: 109.8 kB / 0.6551 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.162, allocations: 11.89 kB / 0.6551 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.1622, allocations: 69.09 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.1622, allocations: 4 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1622, allocations: 0 / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1622, allocations: 8 kB / 0.6551 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1624, allocations: 153.7 kB / 0.6553 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1624, allocations: 0 / 0.6553 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.1624, allocations: 11.98 kB / 0.6553 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.1624, allocations: 3.938 kB / 0.6553 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1624, allocations: 0 / 0.6553 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1625, allocations: 0 / 0.6553 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1625, allocations: 0 / 0.6553 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.1626, allocations: 85.69 kB / 0.6554 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.1627, allocations: 92.97 kB / 0.6555 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1627, allocations: 3.938 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/0.1628, allocations: 0 / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.1628, allocations: 7.984 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1628, allocations: 0 / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.1629, allocations: 87.31 kB / 0.6556 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1629, allocations: 0 / 0.6556 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002396/0.1631, allocations: 39.8 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 (4): * Single equations (assignments): 4 * 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.0006225/0.1638, allocations: 0.6591 MB / 0.6563 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001582/0.1639, allocations: 27.92 kB / 0.6563 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.164, allocations: 0 / 0.6563 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.863e-05/0.164, allocations: 19.98 kB / 0.6563 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.1643, allocations: 9.562 kB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/0.1647, allocations: 168.6 kB / 0.6565 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.165, allocations: 0.6806 MB / 0.6571 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.277e-05/0.1651, allocations: 8 kB / 0.6571 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.1651, allocations: 15.44 kB / 0.6572 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1651, allocations: 0 / 0.6572 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.1872, allocations: 1.947 MB / 0.6591 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.384, allocations: 7.203 kB / 0.6591 GB, free: 10.52 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX_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_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)