Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.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.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterProperties",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.001526/0.001526, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.001332/0.001332, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.392/1.392, 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.8561/0.8561, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 64.36 kB / 0.5736 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1409, allocations: 78.87 MB / 0.6506 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterProperties): time 0.006637/0.1476, allocations: 4.412 MB / 0.6549 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003028/0.1506, allocations: 2.691 MB / 0.6575 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.1507, allocations: 4 kB / 0.6575 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.151, allocations: 43.67 kB / 0.6576 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1513, allocations: 95.36 kB / 0.6577 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.1524, allocations: 0.493 MB / 0.6581 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1527, allocations: 239.8 kB / 0.6584 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.1527, allocations: 9.562 kB / 0.6584 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009051/0.1536, allocations: 409.6 kB / 0.6588 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1538, allocations: 95.58 kB / 0.6589 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.1538, allocations: 12 kB / 0.6589 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009776/0.1548, allocations: 495.3 kB / 0.6593 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.1549, allocations: 35.91 kB / 0.6594 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.268e-05/0.155, allocations: 79.64 kB / 0.6595 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005842/0.1555, allocations: 350.8 kB / 0.6598 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1556, allocations: 3.938 kB / 0.6598 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1556, allocations: 0 / 0.6598 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1556, allocations: 0 / 0.6598 GB, free: 10.24 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007387/0.1563, allocations: 0.5064 MB / 0.6603 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1564, allocations: 8.031 kB / 0.6603 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.26e-05/0.1564, allocations: 58.73 kB / 0.6604 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.1566, allocations: 24.83 kB / 0.6604 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.1569, allocations: 208.1 kB / 0.6606 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1569, allocations: 16.69 kB / 0.6606 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1569, allocations: 24.34 kB / 0.6606 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.1573, allocations: 244.9 kB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1573, allocations: 0 / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.1574, allocations: 8 kB / 0.6609 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.1574, allocations: 7.984 kB / 0.6609 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000538/0.1579, allocations: 431.5 kB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1591, allocations: 1.004 MB / 0.6623 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1594, allocations: 161.7 kB / 0.6624 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.1595, allocations: 60.84 kB / 0.6625 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/0.1611, allocations: 1.821 MB / 0.6642 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1611, allocations: 42.56 kB / 0.6643 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.1612, allocations: 0 / 0.6643 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003428/0.1615, allocations: 152.6 kB / 0.6644 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1616, allocations: 59.41 kB / 0.6645 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1618, allocations: 164.8 kB / 0.6646 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.1618, allocations: 33.7 kB / 0.6647 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.162, allocations: 140.1 kB / 0.6648 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.162, allocations: 59.52 kB / 0.6649 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/0.1622, allocations: 53.59 kB / 0.6649 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1623, allocations: 330.8 kB / 0.6652 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.1624, allocations: 35.98 kB / 0.6653 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.1626, allocations: 141.7 kB / 0.6654 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.1629, allocations: 193.5 kB / 0.6656 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1629, allocations: 0 / 0.6656 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003523/0.1632, allocations: 217.2 kB / 0.6658 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1633, allocations: 8 kB / 0.6658 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1633, allocations: 4 kB / 0.6658 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1633, allocations: 8.406 kB / 0.6658 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.1635, allocations: 63.84 kB / 0.6659 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.1635, allocations: 4 kB / 0.6659 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.1637, allocations: 27.78 kB / 0.6659 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.1637, allocations: 15.94 kB / 0.6659 GB, free: 3.211 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001622/0.1639, allocations: 129.8 kB / 0.666 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/0.164, allocations: 19.89 kB / 0.6661 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.1645, allocations: 162 kB / 0.6662 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.1645, allocations: 3.938 kB / 0.6662 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1646, allocations: 4 kB / 0.6662 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.1646, allocations: 4 kB / 0.6662 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.165, allocations: 221.5 kB / 0.6664 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.165, allocations: 0 / 0.6664 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.1652, allocations: 23.98 kB / 0.6665 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.435e-06/0.1652, allocations: 7.984 kB / 0.6665 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1652, allocations: 4 kB / 0.6665 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/0.1652, allocations: 7.938 kB / 0.6665 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1652, allocations: 0 / 0.6665 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.1656, allocations: 219.4 kB / 0.6667 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.1658, allocations: 108.9 kB / 0.6668 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.1658, allocations: 3.984 kB / 0.6668 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.1662, allocations: 19.92 kB / 0.6668 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.1662, allocations: 11.98 kB / 0.6668 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.1663, allocations: 8 kB / 0.6668 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001536/0.1664, allocations: 124.9 kB / 0.667 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.1664, allocations: 0 / 0.667 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006893/0.1671, allocations: 75.86 kB / 0.667 GB, free: 1.984 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.00113/0.1683, allocations: 0.8254 MB / 0.6678 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003814/0.1687, allocations: 131.2 kB / 0.668 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.1687, allocations: 0 / 0.668 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1688, allocations: 43.92 kB / 0.668 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.1696, allocations: 58.16 kB / 0.6681 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.1728, allocations: 2.054 MB / 0.6701 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1732, allocations: 0.7129 MB / 0.6708 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000157/0.1733, allocations: 53.72 kB / 0.6708 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.1734, allocations: 43.42 kB / 0.6709 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1734, allocations: 4 kB / 0.6709 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.2017, allocations: 5.17 MB / 0.6759 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.323, allocations: 6 kB / 0.6759 GB, free: 8.777 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties_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_Media_Examples_PropyleneGlycolWaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)