Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_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.001534/0.001534, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002393/0.002393, allocations: 302.4 kB / 290.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.036/1.036, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 101.8 kB / 0.6065 GB, free: 24.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1466, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01588/0.1625, allocations: 12.97 MB / 0.7063 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.1654, allocations: 2.671 MB / 0.7089 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.1655, allocations: 0 / 0.7089 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1658, allocations: 47.67 kB / 0.7089 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.166, allocations: 95.36 kB / 0.709 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1671, allocations: 0.5055 MB / 0.7095 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.1673, allocations: 227.9 kB / 0.7097 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.1674, allocations: 13.56 kB / 0.7097 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008003/0.1754, allocations: 3.581 MB / 0.7132 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.1756, allocations: 87.61 kB / 0.7133 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1756, allocations: 8 kB / 0.7133 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002382/0.178, allocations: 1.077 MB / 0.7144 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.646e-05/0.1781, allocations: 39.89 kB / 0.7144 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.457e-05/0.1782, allocations: 79.64 kB / 0.7145 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.1788, allocations: 371 kB / 0.7148 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1788, allocations: 0 / 0.7148 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1788, allocations: 0 / 0.7148 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1788, allocations: 0 / 0.7148 GB, free: 14.42 MB / 0.5137 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.0007272/0.1795, allocations: 0.5031 MB / 0.7153 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1796, allocations: 8.031 kB / 0.7153 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.981e-05/0.1796, allocations: 54.73 kB / 0.7154 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.1798, allocations: 24.73 kB / 0.7154 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.18, allocations: 216.1 kB / 0.7156 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1801, allocations: 12.7 kB / 0.7156 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1801, allocations: 12.38 kB / 0.7156 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.1805, allocations: 259.8 kB / 0.7159 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1805, allocations: 0 / 0.7159 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.1805, allocations: 8 kB / 0.7159 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.1806, allocations: 7.984 kB / 0.7159 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.1811, allocations: 431.5 kB / 0.7163 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.1823, allocations: 0.9644 MB / 0.7173 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.1826, allocations: 155.7 kB / 0.7174 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.1827, allocations: 68.88 kB / 0.7175 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.1842, allocations: 1.829 MB / 0.7193 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1842, allocations: 38.56 kB / 0.7193 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.1842, allocations: 0 / 0.7193 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003423/0.1846, allocations: 154.7 kB / 0.7194 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.1846, allocations: 55.41 kB / 0.7195 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1848, allocations: 173.8 kB / 0.7197 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1848, allocations: 29.7 kB / 0.7197 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.1849, allocations: 135.8 kB / 0.7198 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.185, allocations: 55.28 kB / 0.7199 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.185, allocations: 49.61 kB / 0.7199 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1852, allocations: 326.8 kB / 0.7202 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.1853, allocations: 43.97 kB / 0.7203 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1854, allocations: 138.9 kB / 0.7204 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.1857, allocations: 199 kB / 0.7206 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1857, allocations: 0 / 0.7206 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000342/0.186, allocations: 221.1 kB / 0.7208 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.186, allocations: 8 kB / 0.7208 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.186, allocations: 4 kB / 0.7208 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1861, allocations: 7.938 kB / 0.7208 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.1862, allocations: 52.39 kB / 0.7209 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.1863, allocations: 11.98 kB / 0.7209 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.1864, allocations: 31.69 kB / 0.7209 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.1864, allocations: 8 kB / 0.7209 GB, free: 7.441 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.0001128/0.1865, allocations: 135 kB / 0.721 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.1866, allocations: 15.91 kB / 0.7211 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.1869, allocations: 162.5 kB / 0.7212 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.1869, allocations: 11.92 kB / 0.7212 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1869, allocations: 4 kB / 0.7212 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1869, allocations: 0 / 0.7212 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.1872, allocations: 209.6 kB / 0.7214 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1872, allocations: 3.984 kB / 0.7214 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-05/0.1873, allocations: 20 kB / 0.7215 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1873, allocations: 0 / 0.7215 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1873, allocations: 8 kB / 0.7215 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1873, allocations: 11.86 kB / 0.7215 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1873, allocations: 0 / 0.7215 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1876, allocations: 224.9 kB / 0.7217 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1877, allocations: 108.9 kB / 0.7218 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.1877, allocations: 12 kB / 0.7218 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.1879, allocations: 15.92 kB / 0.7218 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.188, allocations: 15.97 kB / 0.7218 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.188, allocations: 8 kB / 0.7218 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.1881, allocations: 117.1 kB / 0.722 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1881, allocations: 4 kB / 0.722 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000384/0.1885, allocations: 79.92 kB / 0.722 GB, free: 6.211 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.0007518/0.1892, allocations: 0.8389 MB / 0.7229 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1895, allocations: 123.7 kB / 0.723 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1895, allocations: 0 / 0.723 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.1896, allocations: 48.84 kB / 0.723 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.19, allocations: 52.83 kB / 0.7231 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.1922, allocations: 2.033 MB / 0.7251 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.1926, allocations: 0.7128 MB / 0.7257 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.1927, allocations: 49.73 kB / 0.7258 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.1928, allocations: 43.42 kB / 0.7258 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1928, allocations: 4 kB / 0.7258 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.2189, allocations: 5.461 MB / 0.7312 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.618, allocations: 13.77 kB / 0.7312 GB, free: 12.79 MB / 0.5294 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)