Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",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.001323/0.001323, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001217/0.001217, allocations: 192 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7563/0.7563, allocations: 126.1 MB / 417.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 61.72 kB / 0.5726 GB, free: 27.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 78.7 MB / 0.6495 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.006429/0.1468, allocations: 4.715 MB / 0.6541 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003005/0.1499, allocations: 2.702 MB / 0.6567 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.15, allocations: 4 kB / 0.6567 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1503, allocations: 55.67 kB / 0.6568 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1507, allocations: 95.36 kB / 0.6569 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1521, allocations: 0.5142 MB / 0.6574 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.1524, allocations: 236 kB / 0.6576 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.1524, allocations: 9.562 kB / 0.6576 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.1527, allocations: 119.5 kB / 0.6577 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1529, allocations: 91.66 kB / 0.6578 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.1529, allocations: 8 kB / 0.6578 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007461/0.1537, allocations: 363.3 kB / 0.6582 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.1537, allocations: 35.89 kB / 0.6582 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.651e-05/0.1539, allocations: 83.59 kB / 0.6583 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000561/0.1544, allocations: 367.1 kB / 0.6586 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1544, allocations: 0 / 0.6586 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1544, allocations: 0 / 0.6586 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.1545, allocations: 0 / 0.6586 GB, free: 11.17 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.0006961/0.1552, allocations: 0.5103 MB / 0.6591 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1552, allocations: 8.031 kB / 0.6591 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.1553, allocations: 50.73 kB / 0.6592 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.1554, allocations: 28.8 kB / 0.6592 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1557, allocations: 204.2 kB / 0.6594 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1557, allocations: 16.7 kB / 0.6594 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1558, allocations: 16.38 kB / 0.6594 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.1561, allocations: 248 kB / 0.6597 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1562, allocations: 0 / 0.6597 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.1562, allocations: 8 kB / 0.6597 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.1562, allocations: 7.984 kB / 0.6597 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.1567, allocations: 443.3 kB / 0.6601 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.1578, allocations: 0.9449 MB / 0.661 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.1581, allocations: 163 kB / 0.6612 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1582, allocations: 64.83 kB / 0.6612 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.1595, allocations: 1.825 MB / 0.663 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1595, allocations: 38.5 kB / 0.6631 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.1596, allocations: 0 / 0.6631 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003357/0.1599, allocations: 156.8 kB / 0.6632 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.1599, allocations: 51.41 kB / 0.6633 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1601, allocations: 180.6 kB / 0.6634 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1601, allocations: 25.7 kB / 0.6635 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.1602, allocations: 148.1 kB / 0.6636 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1603, allocations: 55.55 kB / 0.6637 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.1604, allocations: 53.7 kB / 0.6637 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1605, allocations: 322.8 kB / 0.664 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.1606, allocations: 35.97 kB / 0.664 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.1607, allocations: 149.5 kB / 0.6642 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.1609, allocations: 197.5 kB / 0.6644 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1609, allocations: 4 kB / 0.6644 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003196/0.1613, allocations: 216.6 kB / 0.6646 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1613, allocations: 12.09 kB / 0.6646 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1613, allocations: 4 kB / 0.6646 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1613, allocations: 7.938 kB / 0.6646 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.1615, allocations: 47.92 kB / 0.6647 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1615, allocations: 11.98 kB / 0.6647 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1616, allocations: 27.78 kB / 0.6647 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.1616, allocations: 15.98 kB / 0.6647 GB, free: 4.199 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.0001075/0.1618, allocations: 133.7 kB / 0.6648 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.1618, allocations: 15.91 kB / 0.6649 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002936/0.1621, allocations: 155 kB / 0.665 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.1621, allocations: 11.92 kB / 0.665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1621, allocations: 0 / 0.665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1622, allocations: 0 / 0.665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.1624, allocations: 209.6 kB / 0.6652 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1624, allocations: 0 / 0.6652 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.855e-05/0.1625, allocations: 27.98 kB / 0.6652 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1625, allocations: 0 / 0.6652 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1625, allocations: 4 kB / 0.6652 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1625, allocations: 11.86 kB / 0.6653 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1625, allocations: 4 kB / 0.6653 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1628, allocations: 215.4 kB / 0.6655 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.546e-05/0.1629, allocations: 112.9 kB / 0.6656 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1629, allocations: 7.984 kB / 0.6656 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1631, allocations: 15.92 kB / 0.6656 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.1632, allocations: 11.98 kB / 0.6656 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.1632, allocations: 15.92 kB / 0.6656 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.191e-05/0.1633, allocations: 124 kB / 0.6657 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1633, allocations: 0 / 0.6657 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003858/0.1637, allocations: 79.81 kB / 0.6658 GB, free: 2.973 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.0007007/0.1644, allocations: 0.8316 MB / 0.6666 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1646, allocations: 111.8 kB / 0.6667 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1646, allocations: 0.9375 kB / 0.6667 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.814e-05/0.1647, allocations: 47.92 kB / 0.6668 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.1651, allocations: 66.06 kB / 0.6668 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.1673, allocations: 2.044 MB / 0.6688 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1676, allocations: 0.7128 MB / 0.6695 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.1677, allocations: 53.83 kB / 0.6696 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.1678, allocations: 47.42 kB / 0.6696 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1678, allocations: 0 / 0.6696 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.1895, allocations: 5.228 MB / 0.6747 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/7.786, allocations: 14.38 kB / 0.6748 GB, free: 9.699 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.WaterProperties_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_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)