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.004439/0.004439, allocations: 98.14 kB / 15.73 MB, free: 6.062 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.001097/0.001097, allocations: 195.6 kB / 16.68 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002156/0.002156, allocations: 289.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9447/0.9447, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 99.83 kB / 0.681 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.375, allocations: 86.97 MB / 0.766 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01465/0.3897, allocations: 12.96 MB / 0.7786 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3924, allocations: 2.667 MB / 0.7812 GB, free: 4.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.521e-05/0.3925, allocations: 4 kB / 0.7812 GB, free: 4.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.3928, allocations: 55.67 kB / 0.7813 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.393, allocations: 87.38 kB / 0.7814 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3943, allocations: 0.5161 MB / 0.7819 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.3945, allocations: 239.9 kB / 0.7821 GB, free: 3.246 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.3946, allocations: 13.55 kB / 0.7821 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007689/0.4023, allocations: 3.572 MB / 0.7856 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.4024, allocations: 91.61 kB / 0.7857 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.4025, allocations: 8 kB / 0.7857 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.4046, allocations: 1.077 MB / 0.7868 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.4047, allocations: 39.83 kB / 0.7868 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.62e-05/0.4048, allocations: 79.64 kB / 0.7869 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.4054, allocations: 374.8 kB / 0.7872 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4054, allocations: 0 / 0.7872 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4054, allocations: 3.938 kB / 0.7872 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.4055, allocations: 4 kB / 0.7872 GB, free: 13.98 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.00069/0.4062, allocations: 0.4987 MB / 0.7877 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.4062, allocations: 8.031 kB / 0.7877 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.4063, allocations: 54.73 kB / 0.7878 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.4064, allocations: 28.78 kB / 0.7878 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.4067, allocations: 208.2 kB / 0.788 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.4067, allocations: 12.7 kB / 0.788 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.4067, allocations: 16.36 kB / 0.788 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003593/0.4071, allocations: 259.8 kB / 0.7883 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4071, allocations: 0 / 0.7883 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.4071, allocations: 11.94 kB / 0.7883 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.4072, allocations: 7.984 kB / 0.7883 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.4076, allocations: 427.5 kB / 0.7887 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.4087, allocations: 0.9722 MB / 0.7897 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.409, allocations: 164 kB / 0.7898 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.4091, allocations: 68.88 kB / 0.7899 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.4104, allocations: 1.825 MB / 0.7917 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.4104, allocations: 38.56 kB / 0.7917 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.4104, allocations: 0 / 0.7917 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.000323/0.4107, allocations: 153.4 kB / 0.7918 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.4108, allocations: 55.41 kB / 0.7919 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.4109, allocations: 171.2 kB / 0.7921 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4109, allocations: 29.69 kB / 0.7921 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.411, allocations: 140.1 kB / 0.7922 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.4111, allocations: 59.53 kB / 0.7923 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/0.4111, allocations: 45.7 kB / 0.7923 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.4112, allocations: 322.8 kB / 0.7926 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.4113, allocations: 43.97 kB / 0.7927 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.4114, allocations: 142.6 kB / 0.7928 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.4117, allocations: 197.5 kB / 0.793 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4117, allocations: 0 / 0.793 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003233/0.412, allocations: 221.2 kB / 0.7932 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.412, allocations: 10.34 kB / 0.7932 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.412, allocations: 4 kB / 0.7932 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4121, allocations: 8.406 kB / 0.7932 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.4122, allocations: 59.91 kB / 0.7933 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.4123, allocations: 4 kB / 0.7933 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.4124, allocations: 31.78 kB / 0.7933 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.4124, allocations: 8 kB / 0.7933 GB, free: 6.996 MB / 0.5606 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 9.365e-05/0.4125, allocations: 133.7 kB / 0.7935 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.4126, allocations: 19.91 kB / 0.7935 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.4129, allocations: 157.3 kB / 0.7936 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4129, allocations: 7.938 kB / 0.7936 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4129, allocations: 4 kB / 0.7936 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4129, allocations: 0 / 0.7936 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.4131, allocations: 217.5 kB / 0.7938 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4132, allocations: 0 / 0.7938 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.58e-05/0.4133, allocations: 23.98 kB / 0.7939 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4133, allocations: 0 / 0.7939 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.4133, allocations: 8 kB / 0.7939 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4133, allocations: 7.875 kB / 0.7939 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4133, allocations: 0 / 0.7939 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.4136, allocations: 230.2 kB / 0.7941 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.4137, allocations: 112.9 kB / 0.7942 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.4137, allocations: 4 kB / 0.7942 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.4139, allocations: 19.92 kB / 0.7942 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.4139, allocations: 7.984 kB / 0.7942 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.414, allocations: 15.98 kB / 0.7943 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.315e-05/0.4141, allocations: 117.8 kB / 0.7944 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4141, allocations: 4 kB / 0.7944 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003886/0.4145, allocations: 75.86 kB / 0.7944 GB, free: 5.758 MB / 0.5606 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.0006484/0.4151, allocations: 0.8371 MB / 0.7953 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.4153, allocations: 118.6 kB / 0.7954 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4154, allocations: 4 kB / 0.7954 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.4154, allocations: 44.86 kB / 0.7954 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.4159, allocations: 59.89 kB / 0.7955 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.418, allocations: 2.046 MB / 0.7975 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.4182, allocations: 0.7128 MB / 0.7982 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001646/0.4184, allocations: 52.75 kB / 0.7982 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.807e-05/0.4185, allocations: 43.42 kB / 0.7983 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.4185, allocations: 0 / 0.7983 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.4389, allocations: 5.522 MB / 0.8037 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.823, allocations: 9.719 kB / 0.8037 GB, free: 12.28 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)