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.001229/0.001229, allocations: 105.9 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.001257/0.001257, allocations: 189.2 kB / 17.34 MB, free: 5.719 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7326/0.7326, allocations: 122.8 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.86 kB / 0.5679 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1528, allocations: 77.92 MB / 0.644 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003066/0.1559, allocations: 1.48 MB / 0.6455 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1574, allocations: 0.8119 MB / 0.6463 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.1574, allocations: 0 / 0.6463 GB, free: 7.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.1575, allocations: 3.938 kB / 0.6463 GB, free: 7.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.1576, allocations: 15.86 kB / 0.6463 GB, free: 7.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.1582, allocations: 131.4 kB / 0.6464 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.1583, allocations: 51.8 kB / 0.6465 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1584, allocations: 19.97 kB / 0.6465 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.319e-05/0.1585, allocations: 19.92 kB / 0.6465 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.005e-05/0.1585, allocations: 23.92 kB / 0.6465 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1586, allocations: 4 kB / 0.6465 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.1589, allocations: 171.8 kB / 0.6467 GB, free: 6.816 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.159, allocations: 15.92 kB / 0.6467 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.159, allocations: 19.88 kB / 0.6467 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.1593, allocations: 147.8 kB / 0.6469 GB, free: 6.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1593, allocations: 0 / 0.6469 GB, free: 6.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1593, allocations: 4 kB / 0.6469 GB, free: 6.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.1594, allocations: 0 / 0.6469 GB, free: 6.633 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.0005809/0.1599, allocations: 402.9 kB / 0.6473 GB, free: 6.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.16, allocations: 12.62 kB / 0.6473 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.772e-05/0.16, allocations: 38.75 kB / 0.6473 GB, free: 6.129 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.1601, allocations: 4.891 kB / 0.6473 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.1602, allocations: 176.2 kB / 0.6475 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1602, allocations: 384 / 0.6475 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1603, allocations: 4.375 kB / 0.6475 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.1606, allocations: 82.14 kB / 0.6476 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1606, allocations: 7.938 kB / 0.6476 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1606, allocations: 0 / 0.6476 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1606, allocations: 4 kB / 0.6476 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.1609, allocations: 67.92 kB / 0.6476 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.1614, allocations: 284.7 kB / 0.6479 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1616, allocations: 54.55 kB / 0.648 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1618, allocations: 40.91 kB / 0.648 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.1619, allocations: 93.17 kB / 0.6481 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.162, allocations: 30.56 kB / 0.6481 GB, free: 5.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.162, allocations: 0 / 0.6481 GB, free: 5.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005649/0.1626, allocations: 133.5 kB / 0.6483 GB, free: 5.027 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.1626, allocations: 55.41 kB / 0.6483 GB, free: 4.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1627, allocations: 113.8 kB / 0.6484 GB, free: 4.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1628, allocations: 25.7 kB / 0.6484 GB, free: 4.809 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.1628, allocations: 96.12 kB / 0.6485 GB, free: 4.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.1628, allocations: 15.83 kB / 0.6485 GB, free: 4.695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.609e-05/0.1629, allocations: 17.72 kB / 0.6486 GB, free: 4.672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.163, allocations: 314.8 kB / 0.6489 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1632, allocations: 35.95 kB / 0.6489 GB, free: 4.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.1633, allocations: 31.91 kB / 0.6489 GB, free: 4.289 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1636, allocations: 72.78 kB / 0.649 GB, free: 4.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1636, allocations: 0 / 0.649 GB, free: 4.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003296/0.1639, allocations: 101.8 kB / 0.6491 GB, free: 4.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.164, allocations: 4 kB / 0.6491 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.164, allocations: 11.98 kB / 0.6491 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.164, allocations: 0 / 0.6491 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1641, allocations: 19.97 kB / 0.6491 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1641, allocations: 0 / 0.6491 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.1642, allocations: 11.98 kB / 0.6491 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1642, allocations: 0 / 0.6491 GB, free: 4.062 MB / 494.1 MB 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 0.0001039/0.1643, allocations: 113.8 kB / 0.6492 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.1644, allocations: 8 kB / 0.6493 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.1647, allocations: 109.5 kB / 0.6494 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1648, allocations: 0 / 0.6494 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1648, allocations: 0 / 0.6494 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1648, allocations: 3.984 kB / 0.6494 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.1649, allocations: 173.5 kB / 0.6495 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.165, allocations: 0 / 0.6495 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.583e-05/0.1651, allocations: 23.97 kB / 0.6496 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1651, allocations: 0 / 0.6496 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1651, allocations: 4 kB / 0.6496 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1651, allocations: 3.938 kB / 0.6496 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1651, allocations: 0 / 0.6496 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1654, allocations: 195.4 kB / 0.6497 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.1656, allocations: 85.05 kB / 0.6498 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1656, allocations: 0 / 0.6498 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1657, allocations: 19.98 kB / 0.6498 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1657, allocations: 7.938 kB / 0.6499 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.1658, allocations: 0 / 0.6499 GB, free: 3.223 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.07e-05/0.1658, allocations: 91.27 kB / 0.6499 GB, free: 3.133 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1658, allocations: 0 / 0.6499 GB, free: 3.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.1661, allocations: 39.88 kB / 0.65 GB, free: 3.094 MB / 494.1 MB 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.000865/0.167, allocations: 0.759 MB / 0.6507 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.1674, allocations: 71.86 kB / 0.6508 GB, free: 2.238 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1674, allocations: 4 kB / 0.6508 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1675, allocations: 31.97 kB / 0.6508 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1679, allocations: 13.23 kB / 0.6508 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.1698, allocations: 1.433 MB / 0.6522 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1701, allocations: 0.6846 MB / 0.6529 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.131e-05/0.1702, allocations: 8.312 kB / 0.6529 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/0.1702, allocations: 11.44 kB / 0.6529 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1702, allocations: 3.938 kB / 0.6529 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.1892, allocations: 2.446 MB / 0.6553 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/7.618, allocations: 3.859 kB / 0.6553 GB, free: 13.59 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)