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.006336/0.006336, allocations: 101 kB / 15.73 MB, free: 6.059 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.00133/0.001331, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002536/0.002536, allocations: 292.2 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.223/1.223, allocations: 178.5 MB / 0.5074 GB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 99.83 kB / 0.6944 GB, free: 15.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3659, allocations: 89.12 MB / 0.7814 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01606/0.382, allocations: 12.98 MB / 0.7941 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00307/0.3851, allocations: 2.661 MB / 0.7967 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.3852, allocations: 5.156 kB / 0.7967 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.3854, allocations: 46.12 kB / 0.7967 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.3857, allocations: 95.44 kB / 0.7968 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3868, allocations: 0.5126 MB / 0.7973 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.3871, allocations: 228.1 kB / 0.7975 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.119e-05/0.3871, allocations: 13.81 kB / 0.7975 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008347/0.3955, allocations: 3.585 MB / 0.801 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.3956, allocations: 90.69 kB / 0.8011 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3957, allocations: 7.188 kB / 0.8011 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.3979, allocations: 1.081 MB / 0.8022 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.398, allocations: 41.8 kB / 0.8022 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.3981, allocations: 83.83 kB / 0.8023 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006171/0.3987, allocations: 367.6 kB / 0.8027 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3988, allocations: 1.562 kB / 0.8027 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3988, allocations: 0 / 0.8027 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3988, allocations: 0 / 0.8027 GB, free: 0.7422 MB / 0.5606 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.0007445/0.3995, allocations: 0.5023 MB / 0.8032 GB, free: 272 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3996, allocations: 9.281 kB / 0.8032 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.3996, allocations: 56.83 kB / 0.8032 GB, free: 212 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.3998, allocations: 26.14 kB / 0.8032 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.4001, allocations: 213.6 kB / 0.8034 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4001, allocations: 14.03 kB / 0.8035 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.4001, allocations: 15.56 kB / 0.8035 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.4005, allocations: 248.4 kB / 0.8037 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4006, allocations: 5.25 kB / 0.8037 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.4006, allocations: 6.719 kB / 0.8037 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.4006, allocations: 4.906 kB / 0.8037 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.4011, allocations: 437.3 kB / 0.8041 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.4023, allocations: 0.9582 MB / 0.8051 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.4026, allocations: 157.4 kB / 0.8052 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4028, allocations: 66.97 kB / 0.8053 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.4044, allocations: 1.835 MB / 0.8071 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4044, allocations: 36.78 kB / 0.8071 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.4044, allocations: 1.094 kB / 0.8071 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003565/0.4048, allocations: 147.3 kB / 0.8073 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.4048, allocations: 52.59 kB / 0.8073 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.405, allocations: 175 kB / 0.8075 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.405, allocations: 32.14 kB / 0.8075 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.548e-05/0.4051, allocations: 143.3 kB / 0.8076 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.4052, allocations: 59.08 kB / 0.8077 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.4053, allocations: 47.77 kB / 0.8077 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4054, allocations: 326.7 kB / 0.8081 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.366e-05/0.4055, allocations: 38.12 kB / 0.8081 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.4057, allocations: 137.4 kB / 0.8082 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.406, allocations: 210.4 kB / 0.8084 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.406, allocations: 5.031 kB / 0.8084 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003387/0.4063, allocations: 207.7 kB / 0.8086 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4063, allocations: 7.25 kB / 0.8086 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.4063, allocations: 4.188 kB / 0.8086 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4064, allocations: 8.281 kB / 0.8086 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.4065, allocations: 52.67 kB / 0.8087 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.4066, allocations: 14.11 kB / 0.8087 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4067, allocations: 32.06 kB / 0.8087 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.4067, allocations: 15.19 kB / 0.8088 GB, free: 10.97 MB / 0.5762 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.0001171/0.4068, allocations: 130.6 kB / 0.8089 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.4069, allocations: 20.58 kB / 0.8089 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.4072, allocations: 157.2 kB / 0.8091 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4072, allocations: 6.625 kB / 0.8091 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4073, allocations: 0 / 0.8091 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4073, allocations: 1.375 kB / 0.8091 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.4075, allocations: 213.5 kB / 0.8093 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4075, allocations: 4 kB / 0.8093 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.935e-05/0.4076, allocations: 27.19 kB / 0.8093 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4077, allocations: 1.125 kB / 0.8093 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.4077, allocations: 10.17 kB / 0.8093 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4077, allocations: 3.938 kB / 0.8093 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4077, allocations: 1.094 kB / 0.8093 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.4079, allocations: 216.8 kB / 0.8095 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.4081, allocations: 109.9 kB / 0.8096 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.4081, allocations: 9.844 kB / 0.8096 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.4083, allocations: 15.08 kB / 0.8096 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.4083, allocations: 12.52 kB / 0.8097 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.4084, allocations: 15.78 kB / 0.8097 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.28e-05/0.4085, allocations: 121.5 kB / 0.8098 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4085, allocations: 1.438 kB / 0.8098 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004157/0.4089, allocations: 84.72 kB / 0.8099 GB, free: 10.03 MB / 0.5762 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.0007653/0.4097, allocations: 0.8416 MB / 0.8107 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.4099, allocations: 108.3 kB / 0.8108 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4099, allocations: 1.031 kB / 0.8108 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.41, allocations: 49 kB / 0.8108 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.4105, allocations: 56.22 kB / 0.8109 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4127, allocations: 2.05 MB / 0.8129 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.4131, allocations: 0.7167 MB / 0.8136 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000166/0.4133, allocations: 52.94 kB / 0.8136 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.409e-05/0.4133, allocations: 47.42 kB / 0.8137 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.4134, allocations: 0 / 0.8137 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.4404, allocations: 5.525 MB / 0.8191 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.3, allocations: 9.062 kB / 0.8191 GB, free: 1.191 MB / 0.5762 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)