Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.001094/0.001094, allocations: 106 kB / 16.4 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.001037/0.001037, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.756/0.756, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 64.36 kB / 0.568 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1315, allocations: 77.92 MB / 0.6441 GB, free: 9.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01534/0.1469, allocations: 12.97 MB / 0.6568 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002672/0.1496, allocations: 2.663 MB / 0.6594 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.1497, allocations: 0 / 0.6594 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.15, allocations: 55.67 kB / 0.6594 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.1503, allocations: 95.36 kB / 0.6595 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1516, allocations: 0.5059 MB / 0.66 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.1518, allocations: 239.9 kB / 0.6603 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.1519, allocations: 13.56 kB / 0.6603 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007861/0.1598, allocations: 3.587 MB / 0.6638 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1599, allocations: 87.66 kB / 0.6639 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.16, allocations: 11.94 kB / 0.6639 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.1623, allocations: 1.072 MB / 0.6649 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.1624, allocations: 39.83 kB / 0.6649 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.1625, allocations: 79.66 kB / 0.665 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006978/0.1632, allocations: 370.7 kB / 0.6654 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.1632, allocations: 4 kB / 0.6654 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1632, allocations: 0 / 0.6654 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.1632, allocations: 0 / 0.6654 GB, free: 3.715 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.0007461/0.164, allocations: 0.5103 MB / 0.6659 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.164, allocations: 8.625 kB / 0.6659 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.692e-05/0.1641, allocations: 58.72 kB / 0.6659 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.1643, allocations: 24.78 kB / 0.666 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1645, allocations: 216.2 kB / 0.6662 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1646, allocations: 8.703 kB / 0.6662 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1646, allocations: 20.38 kB / 0.6662 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.1649, allocations: 244 kB / 0.6664 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.165, allocations: 4 kB / 0.6664 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.165, allocations: 12 kB / 0.6664 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.165, allocations: 4 kB / 0.6665 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.1655, allocations: 435.3 kB / 0.6669 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.1666, allocations: 0.9606 MB / 0.6678 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1668, allocations: 168.2 kB / 0.668 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.591e-05/0.1669, allocations: 60.88 kB / 0.668 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.1683, allocations: 1.837 MB / 0.6698 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1683, allocations: 30.56 kB / 0.6698 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.1683, allocations: 4 kB / 0.6699 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003485/0.1687, allocations: 153.4 kB / 0.67 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1687, allocations: 51.41 kB / 0.67 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1689, allocations: 173.3 kB / 0.6702 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1689, allocations: 29.7 kB / 0.6702 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.169, allocations: 148.1 kB / 0.6704 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.169, allocations: 59.53 kB / 0.6704 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.58e-05/0.1691, allocations: 49.7 kB / 0.6705 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1692, allocations: 322.8 kB / 0.6708 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.1693, allocations: 31.98 kB / 0.6708 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1694, allocations: 153.6 kB / 0.671 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.1697, allocations: 196.2 kB / 0.6712 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1697, allocations: 0 / 0.6712 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003412/0.17, allocations: 217.2 kB / 0.6714 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.17, allocations: 4 kB / 0.6714 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1701, allocations: 4 kB / 0.6714 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1701, allocations: 7.938 kB / 0.6714 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.1703, allocations: 63.84 kB / 0.6714 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1703, allocations: 4 kB / 0.6714 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.1704, allocations: 23.84 kB / 0.6715 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.1704, allocations: 16.41 kB / 0.6715 GB, free: 12.73 MB / 0.5137 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.000108/0.1705, allocations: 137.7 kB / 0.6716 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.1706, allocations: 15.91 kB / 0.6716 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.1709, allocations: 166.8 kB / 0.6718 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.1709, allocations: 3.938 kB / 0.6718 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1709, allocations: 3.938 kB / 0.6718 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1709, allocations: 0 / 0.6718 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1712, allocations: 209.6 kB / 0.672 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1712, allocations: 0 / 0.672 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.134e-05/0.1713, allocations: 31.98 kB / 0.672 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.1713, allocations: 4 kB / 0.672 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1713, allocations: 0 / 0.672 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1713, allocations: 3.938 kB / 0.672 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1713, allocations: 0 / 0.672 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1716, allocations: 229 kB / 0.6723 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.1717, allocations: 112.9 kB / 0.6724 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1717, allocations: 0 / 0.6724 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.1719, allocations: 23.92 kB / 0.6724 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.172, allocations: 7.984 kB / 0.6724 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.172, allocations: 19.97 kB / 0.6724 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.507e-05/0.1721, allocations: 120.9 kB / 0.6725 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1721, allocations: 0 / 0.6725 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003892/0.1725, allocations: 79.88 kB / 0.6726 GB, free: 11.49 MB / 0.5137 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.0006706/0.1732, allocations: 0.8293 MB / 0.6734 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.1734, allocations: 126.5 kB / 0.6735 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1734, allocations: 0 / 0.6735 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.1735, allocations: 43.92 kB / 0.6736 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1739, allocations: 62.06 kB / 0.6736 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.1761, allocations: 2.045 MB / 0.6756 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.1764, allocations: 0.7168 MB / 0.6763 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.1765, allocations: 49.73 kB / 0.6764 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.287e-05/0.1766, allocations: 43.42 kB / 0.6764 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.1766, allocations: 0 / 0.6764 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.2006, allocations: 5.486 MB / 0.6818 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/7.761, allocations: 3.375 kB / 0.6818 GB, free: 1.996 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT_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_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)