Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_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.001126/0.001126, allocations: 104.9 kB / 16.4 MB, free: 5.973 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.001095/0.001095, allocations: 195.1 kB / 17.34 MB, free: 5.582 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.373/1.373, 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.7751/0.7751, allocations: 126.1 MB / 417.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 68.16 kB / 0.5726 GB, free: 27.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1489, allocations: 78.7 MB / 0.6494 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002622/0.1515, allocations: 1.49 MB / 0.6509 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1529, allocations: 0.8085 MB / 0.6517 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.153, allocations: 0 / 0.6517 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.153, allocations: 3.938 kB / 0.6517 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.1531, allocations: 7.922 kB / 0.6517 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.1537, allocations: 135.4 kB / 0.6518 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1538, allocations: 55.8 kB / 0.6519 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1539, allocations: 11.98 kB / 0.6519 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.405e-05/0.154, allocations: 19.92 kB / 0.6519 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.317e-05/0.154, allocations: 23.92 kB / 0.6519 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.154, allocations: 4 kB / 0.6519 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.1544, allocations: 171.7 kB / 0.6521 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.1544, allocations: 19.92 kB / 0.6521 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.1545, allocations: 15.94 kB / 0.6521 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.1548, allocations: 151.8 kB / 0.6523 GB, free: 1.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1548, allocations: 0 / 0.6523 GB, free: 1.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1548, allocations: 0 / 0.6523 GB, free: 1.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.1548, allocations: 0 / 0.6523 GB, free: 1.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005212/0.1553, allocations: 406.9 kB / 0.6527 GB, free: 1.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.1554, allocations: 11.97 kB / 0.6527 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.1554, allocations: 30.75 kB / 0.6527 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.1555, allocations: 8.891 kB / 0.6527 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1556, allocations: 184.2 kB / 0.6529 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1556, allocations: 384 / 0.6529 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1556, allocations: 4.375 kB / 0.6529 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.1559, allocations: 74.2 kB / 0.653 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1559, allocations: 3.938 kB / 0.653 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1559, allocations: 0 / 0.653 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1559, allocations: 0 / 0.653 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.1562, allocations: 75.92 kB / 0.653 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.1566, allocations: 284.7 kB / 0.6533 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1568, allocations: 54.55 kB / 0.6534 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.157, allocations: 44.91 kB / 0.6534 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.1572, allocations: 89.09 kB / 0.6535 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.1572, allocations: 30.56 kB / 0.6535 GB, free: 216 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.315e-06/0.1572, allocations: 3.984 kB / 0.6535 GB, free: 212 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000541/0.1577, allocations: 133.5 kB / 0.6536 GB, free: 72 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1578, allocations: 51.41 kB / 0.6537 GB, free: 8 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.1579, allocations: 121.8 kB / 0.6538 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1579, allocations: 25.7 kB / 0.6538 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.158, allocations: 92.14 kB / 0.6539 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.158, allocations: 15.83 kB / 0.6539 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.158, allocations: 17.72 kB / 0.654 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.1581, allocations: 318.8 kB / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1583, allocations: 35.95 kB / 0.6543 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1584, allocations: 27.97 kB / 0.6543 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.1587, allocations: 76.72 kB / 0.6544 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1587, allocations: 0 / 0.6544 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003164/0.1591, allocations: 101.5 kB / 0.6545 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1591, allocations: 4 kB / 0.6545 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1591, allocations: 0 / 0.6545 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1591, allocations: 4 kB / 0.6545 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1592, allocations: 19.97 kB / 0.6545 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1592, allocations: 0 / 0.6545 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.1593, allocations: 11.98 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1593, allocations: 0 / 0.6545 GB, free: 15.11 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 (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 prepare postOptimizeDAE: time 7.176e-05/0.1594, allocations: 121.1 kB / 0.6546 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.1595, allocations: 3.938 kB / 0.6546 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/0.1598, allocations: 113.5 kB / 0.6548 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1598, allocations: 4 kB / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1598, allocations: 0 / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1599, allocations: 3.984 kB / 0.6548 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.16, allocations: 173.5 kB / 0.6549 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.16, allocations: 0 / 0.6549 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-05/0.1601, allocations: 19.97 kB / 0.6549 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1601, allocations: 4 kB / 0.6549 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1602, allocations: 4 kB / 0.655 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1602, allocations: 0 / 0.655 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1602, allocations: 0 / 0.655 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.1605, allocations: 199.4 kB / 0.6551 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.479e-05/0.1606, allocations: 89.05 kB / 0.6552 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1606, allocations: 0 / 0.6552 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1607, allocations: 11.98 kB / 0.6552 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.1608, allocations: 4.422 kB / 0.6552 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.1608, allocations: 4 kB / 0.6552 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.1608, allocations: 91.27 kB / 0.6553 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1608, allocations: 0 / 0.6553 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000291/0.1611, allocations: 31.88 kB / 0.6554 GB, free: 14.14 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.0007141/0.1618, allocations: 0.7747 MB / 0.6561 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1622, allocations: 71.86 kB / 0.6562 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1622, allocations: 0 / 0.6562 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1624, allocations: 35.97 kB / 0.6562 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1627, allocations: 13.7 kB / 0.6562 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.1644, allocations: 1.439 MB / 0.6576 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.1646, allocations: 0.6807 MB / 0.6583 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.1647, allocations: 7.984 kB / 0.6583 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.846e-05/0.1648, allocations: 19.44 kB / 0.6583 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1648, allocations: 192 / 0.6583 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.1831, allocations: 2.432 MB / 0.6607 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.789, allocations: 13.92 kB / 0.6607 GB, free: 8.625 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.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_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)