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.004269/0.00427, allocations: 97.16 kB / 15.73 MB, free: 6.055 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.001109/0.001109, allocations: 193.1 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.241/1.241, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.002021, allocations: 279 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9094/0.9094, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 104.9 kB / 0.681 GB, free: 15.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1411, allocations: 86.96 MB / 0.766 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2911/0.4322, allocations: 12.97 MB / 0.7786 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002188/0.4345, allocations: 2.665 MB / 0.7812 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.4345, allocations: 0.6875 kB / 0.7812 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.4348, allocations: 50.11 kB / 0.7813 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.4351, allocations: 99.53 kB / 0.7814 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.436, allocations: 0.5146 MB / 0.7819 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.4362, allocations: 236.8 kB / 0.7821 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.4363, allocations: 13.78 kB / 0.7821 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007937/0.4442, allocations: 3.58 MB / 0.7856 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.4444, allocations: 94.23 kB / 0.7857 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.4444, allocations: 7.594 kB / 0.7857 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.4468, allocations: 1.066 MB / 0.7868 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.4469, allocations: 44.53 kB / 0.7868 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.447, allocations: 77.08 kB / 0.7869 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.4476, allocations: 373.5 kB / 0.7872 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.4476, allocations: 1.531 kB / 0.7872 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4476, allocations: 0 / 0.7872 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.4476, allocations: 0 / 0.7872 GB, free: 5.41 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.0005585/0.4482, allocations: 0.5127 MB / 0.7877 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.4482, allocations: 8.906 kB / 0.7877 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.4483, allocations: 51.61 kB / 0.7878 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.4484, allocations: 29.34 kB / 0.7878 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.4486, allocations: 210.5 kB / 0.788 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.4486, allocations: 13.11 kB / 0.788 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.4487, allocations: 15.97 kB / 0.788 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.449, allocations: 254.1 kB / 0.7883 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.449, allocations: 0 / 0.7883 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.449, allocations: 8.5 kB / 0.7883 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.4491, allocations: 4.328 kB / 0.7883 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.4495, allocations: 434.4 kB / 0.7887 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008373/0.4503, allocations: 0.9682 MB / 0.7897 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.4506, allocations: 165.4 kB / 0.7898 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.4507, allocations: 59.11 kB / 0.7899 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.4518, allocations: 1.832 MB / 0.7917 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.4519, allocations: 38.88 kB / 0.7917 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.4519, allocations: 0 / 0.7917 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0002957/0.4522, allocations: 146.8 kB / 0.7918 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.4522, allocations: 62.22 kB / 0.7919 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4523, allocations: 171.5 kB / 0.7921 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4524, allocations: 32.48 kB / 0.7921 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.4525, allocations: 138.5 kB / 0.7922 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.4525, allocations: 58.28 kB / 0.7923 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.4526, allocations: 49.39 kB / 0.7923 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4527, allocations: 326.1 kB / 0.7926 GB, free: 16.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/0.4527, allocations: 35.77 kB / 0.7927 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.462e-05/0.4528, allocations: 138.3 kB / 0.7928 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.453, allocations: 203.5 kB / 0.793 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.453, allocations: 2.562 kB / 0.793 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003036/0.4534, allocations: 220.2 kB / 0.7932 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4534, allocations: 9.062 kB / 0.7932 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4534, allocations: 5.75 kB / 0.7932 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4534, allocations: 3.531 kB / 0.7932 GB, free: 16.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.4536, allocations: 60 kB / 0.7933 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4536, allocations: 10.78 kB / 0.7933 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.702e-05/0.4537, allocations: 28.78 kB / 0.7933 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4537, allocations: 15.61 kB / 0.7933 GB, free: 16.1 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 9.937e-05/0.4538, allocations: 130.9 kB / 0.7935 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.4539, allocations: 17.59 kB / 0.7935 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.4542, allocations: 163 kB / 0.7936 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.4542, allocations: 7.203 kB / 0.7936 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4542, allocations: 0 / 0.7936 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.4542, allocations: 1.125 kB / 0.7936 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.4544, allocations: 221.5 kB / 0.7939 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4544, allocations: 0.7031 kB / 0.7939 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.4545, allocations: 22.78 kB / 0.7939 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4545, allocations: 0.6562 kB / 0.7939 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4545, allocations: 7.109 kB / 0.7939 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4546, allocations: 3.938 kB / 0.7939 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4546, allocations: 0.7969 kB / 0.7939 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.4548, allocations: 228.9 kB / 0.7941 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.4549, allocations: 112.4 kB / 0.7942 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4549, allocations: 8.281 kB / 0.7942 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.4551, allocations: 16.44 kB / 0.7942 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.523e-05/0.4551, allocations: 12.28 kB / 0.7942 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.4552, allocations: 8.109 kB / 0.7943 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.954e-05/0.4553, allocations: 125.7 kB / 0.7944 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4553, allocations: 0 / 0.7944 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00036/0.4556, allocations: 78.03 kB / 0.7944 GB, free: 15.24 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.0006399/0.4563, allocations: 0.8385 MB / 0.7953 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.4565, allocations: 113 kB / 0.7954 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4565, allocations: 0 / 0.7954 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.4566, allocations: 47.08 kB / 0.7954 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.457, allocations: 67.59 kB / 0.7955 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.4589, allocations: 2.049 MB / 0.7975 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.4592, allocations: 0.711 MB / 0.7982 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.4594, allocations: 50.16 kB / 0.7982 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.4595, allocations: 47.38 kB / 0.7983 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.4595, allocations: 0 / 0.7983 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.4803, allocations: 5.511 MB / 0.8037 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.588, allocations: 13.84 kB / 0.8037 GB, free: 11.3 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)