Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_8_Buildings_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.001457/0.001457, allocations: 108 kB / 15.61 MB, free: 152 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.00172/0.001721, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 72.12 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2306, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01522/0.2458, allocations: 12.95 MB / 0.7961 GB, free: 376 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002862/0.2488, allocations: 2.644 MB / 0.7987 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2489, allocations: 4 kB / 0.7987 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.2492, allocations: 47.67 kB / 0.7987 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.2496, allocations: 99.36 kB / 0.7988 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.2507, allocations: 490.3 kB / 0.7993 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.2509, allocations: 236 kB / 0.7995 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.251, allocations: 5.562 kB / 0.7995 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008389/0.2594, allocations: 3.584 MB / 0.803 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.2596, allocations: 91.59 kB / 0.8031 GB, free: 9.164 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.76e-05/0.2596, allocations: 8 kB / 0.8031 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.2621, allocations: 1.04 MB / 0.8041 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 6.37e-05/0.2621, allocations: 39.89 kB / 0.8042 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 9.552e-05/0.2622, allocations: 83.58 kB / 0.8043 GB, free: 8 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.2629, allocations: 351.1 kB / 0.8046 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2629, allocations: 0 / 0.8046 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2629, allocations: 0 / 0.8046 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2629, allocations: 0 / 0.8046 GB, free: 7.656 MB / 0.6231 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.0007496/0.2637, allocations: 0.4953 MB / 0.8051 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.2637, allocations: 8.031 kB / 0.8051 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.2638, allocations: 54.73 kB / 0.8051 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.264, allocations: 24.73 kB / 0.8052 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.2642, allocations: 212.1 kB / 0.8054 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2643, allocations: 16.7 kB / 0.8054 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.2643, allocations: 12.38 kB / 0.8054 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.2647, allocations: 247.9 kB / 0.8056 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2647, allocations: 4 kB / 0.8056 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.2647, allocations: 12 kB / 0.8056 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.2648, allocations: 4 kB / 0.8056 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.2653, allocations: 427.5 kB / 0.8061 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.2664, allocations: 0.9604 MB / 0.807 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.2667, allocations: 162.4 kB / 0.8072 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.2668, allocations: 64.86 kB / 0.8072 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/0.2682, allocations: 1.837 MB / 0.809 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.2683, allocations: 38.5 kB / 0.809 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2683, allocations: 0 / 0.809 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.000323/0.2686, allocations: 152.3 kB / 0.8092 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.2687, allocations: 55.41 kB / 0.8092 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2688, allocations: 161.5 kB / 0.8094 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.2688, allocations: 29.7 kB / 0.8094 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.2689, allocations: 147.8 kB / 0.8096 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.269, allocations: 51.2 kB / 0.8096 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.269, allocations: 53.7 kB / 0.8097 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2691, allocations: 326.8 kB / 0.81 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.508e-05/0.2692, allocations: 35.97 kB / 0.81 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.2693, allocations: 145.7 kB / 0.8101 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.2696, allocations: 189.5 kB / 0.8103 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2696, allocations: 4 kB / 0.8103 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003283/0.2699, allocations: 223.4 kB / 0.8105 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2699, allocations: 10.66 kB / 0.8106 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.27, allocations: 4 kB / 0.8106 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.27, allocations: 7.938 kB / 0.8106 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2702, allocations: 47.92 kB / 0.8106 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.2702, allocations: 11.98 kB / 0.8106 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2703, allocations: 28.16 kB / 0.8107 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.2703, allocations: 20 kB / 0.8107 GB, free: 0.7031 MB / 0.6231 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.0001149/0.2704, allocations: 129.8 kB / 0.8108 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.2705, allocations: 15.81 kB / 0.8108 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.2708, allocations: 150.9 kB / 0.811 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.2708, allocations: 11.92 kB / 0.811 GB, free: 400 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2709, allocations: 3.938 kB / 0.811 GB, free: 396 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.2709, allocations: 0 / 0.811 GB, free: 396 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.2711, allocations: 221.5 kB / 0.8112 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2711, allocations: 0 / 0.8112 GB, free: 124 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.2712, allocations: 27.98 kB / 0.8112 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2712, allocations: 0 / 0.8112 GB, free: 96 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.2713, allocations: 7.938 kB / 0.8112 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2713, allocations: 3.938 kB / 0.8112 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2713, allocations: 0 / 0.8112 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.2715, allocations: 222.9 kB / 0.8114 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.2716, allocations: 104.9 kB / 0.8115 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.2717, allocations: 12 kB / 0.8115 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.2719, allocations: 11.92 kB / 0.8116 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.2719, allocations: 11.98 kB / 0.8116 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.2719, allocations: 8 kB / 0.8116 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.259e-05/0.272, allocations: 118.1 kB / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.272, allocations: 0 / 0.8117 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003789/0.2724, allocations: 79.92 kB / 0.8118 GB, free: 15.5 MB / 0.6387 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.0007936/0.2732, allocations: 0.8409 MB / 0.8126 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.2735, allocations: 123.8 kB / 0.8127 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2735, allocations: 0 / 0.8127 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.685e-05/0.2735, allocations: 51.84 kB / 0.8127 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.274, allocations: 56.83 kB / 0.8128 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.2762, allocations: 2.026 MB / 0.8148 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.2765, allocations: 0.7168 MB / 0.8155 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.2767, allocations: 45.75 kB / 0.8155 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.2768, allocations: 43.42 kB / 0.8156 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.2768, allocations: 0 / 0.8156 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3, allocations: 5.37 MB / 0.8208 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.736/8.036, allocations: 4 kB / 0.8208 GB, free: 6.129 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)