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.001367/0.001367, allocations: 112.9 kB / 16.4 MB, free: 6.379 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.001249/0.001249, allocations: 196 kB / 17.33 MB, free: 5.844 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.446/1.446, 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.8316/0.8316, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 64.69 kB / 0.5736 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1408, allocations: 78.86 MB / 0.6506 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.006176/0.147, allocations: 4.705 MB / 0.6552 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003154/0.1502, allocations: 2.718 MB / 0.6578 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.1503, allocations: 0 / 0.6578 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1506, allocations: 47.69 kB / 0.6579 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.1508, allocations: 99.34 kB / 0.658 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.152, allocations: 0.4949 MB / 0.6584 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.1523, allocations: 228 kB / 0.6587 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.1524, allocations: 13.56 kB / 0.6587 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1526, allocations: 115.5 kB / 0.6588 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1527, allocations: 95.64 kB / 0.6589 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.1528, allocations: 8 kB / 0.6589 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007037/0.1535, allocations: 363.3 kB / 0.6592 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.14e-05/0.1536, allocations: 35.88 kB / 0.6593 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1537, allocations: 87.59 kB / 0.6593 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.1543, allocations: 363.1 kB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1543, allocations: 0 / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1543, allocations: 4 kB / 0.6597 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5e-06/0.1543, allocations: 0 / 0.6597 GB, free: 10.19 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.0007485/0.1551, allocations: 0.5064 MB / 0.6602 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1551, allocations: 8.031 kB / 0.6602 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.638e-05/0.1552, allocations: 50.73 kB / 0.6602 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.1553, allocations: 20.84 kB / 0.6603 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.1556, allocations: 220.1 kB / 0.6605 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1556, allocations: 12.7 kB / 0.6605 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1557, allocations: 16.38 kB / 0.6605 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.1561, allocations: 248 kB / 0.6607 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1561, allocations: 3.984 kB / 0.6607 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.1561, allocations: 8 kB / 0.6608 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.1562, allocations: 7.984 kB / 0.6608 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.1567, allocations: 427.9 kB / 0.6612 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.1579, allocations: 0.9567 MB / 0.6621 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.1582, allocations: 163.6 kB / 0.6623 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.1583, allocations: 64.89 kB / 0.6623 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/0.1599, allocations: 1.821 MB / 0.6641 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.1599, allocations: 30.56 kB / 0.6641 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.16, allocations: 7.938 kB / 0.6641 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003545/0.1603, allocations: 159.6 kB / 0.6643 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1604, allocations: 55.34 kB / 0.6643 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.1606, allocations: 164.7 kB / 0.6645 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1606, allocations: 29.7 kB / 0.6645 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.768e-05/0.1607, allocations: 148 kB / 0.6647 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.1608, allocations: 55.58 kB / 0.6647 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.1609, allocations: 53.66 kB / 0.6648 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.161, allocations: 322.8 kB / 0.6651 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.1611, allocations: 39.97 kB / 0.6651 GB, free: 4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1613, allocations: 145.6 kB / 0.6653 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.1615, allocations: 197.5 kB / 0.6654 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1616, allocations: 4 kB / 0.6655 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003459/0.1619, allocations: 212.3 kB / 0.6657 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1619, allocations: 13.81 kB / 0.6657 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1619, allocations: 4.469 kB / 0.6657 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.162, allocations: 11.94 kB / 0.6657 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.1622, allocations: 47.92 kB / 0.6657 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.1622, allocations: 11.98 kB / 0.6657 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1623, allocations: 27.78 kB / 0.6658 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1623, allocations: 12 kB / 0.6658 GB, free: 3.227 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.0001189/0.1624, allocations: 133.7 kB / 0.6659 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.1625, allocations: 15.91 kB / 0.6659 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.1628, allocations: 151 kB / 0.6661 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.1628, allocations: 15.92 kB / 0.6661 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1628, allocations: 0 / 0.6661 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1628, allocations: 0 / 0.6661 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.1631, allocations: 209.6 kB / 0.6663 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1631, allocations: 4 kB / 0.6663 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.093e-05/0.1632, allocations: 27.98 kB / 0.6663 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1632, allocations: 0 / 0.6663 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1632, allocations: 4 kB / 0.6663 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1633, allocations: 11.86 kB / 0.6663 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1633, allocations: 0 / 0.6663 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.1635, allocations: 223.3 kB / 0.6665 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.984e-05/0.1637, allocations: 112.9 kB / 0.6666 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.1637, allocations: 7.984 kB / 0.6667 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.1639, allocations: 15.92 kB / 0.6667 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.1639, allocations: 15.92 kB / 0.6667 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.164, allocations: 11.98 kB / 0.6667 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001083/0.1641, allocations: 124.9 kB / 0.6668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1641, allocations: 4 kB / 0.6668 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003814/0.1645, allocations: 71.88 kB / 0.6669 GB, free: 1.996 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.0008202/0.1653, allocations: 0.8362 MB / 0.6677 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.1656, allocations: 111.8 kB / 0.6678 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1656, allocations: 0 / 0.6678 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.1657, allocations: 43.92 kB / 0.6679 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.1661, allocations: 60.81 kB / 0.6679 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.1685, allocations: 2.046 MB / 0.6699 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.1689, allocations: 0.7128 MB / 0.6706 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001954/0.1691, allocations: 49.84 kB / 0.6707 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.977e-05/0.1692, allocations: 47.42 kB / 0.6707 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of SimCode: time 3.917e-06/0.1692, allocations: 0 / 0.6707 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.1959, allocations: 5.244 MB / 0.6758 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.441, allocations: 16.56 kB / 0.6758 GB, free: 8.703 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)