Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",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.007626/0.007626, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.002036/0.002036, allocations: 196.2 kB / 16.68 MB, free: 5.523 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 285.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.26/1.26, allocations: 178.6 MB / 0.5074 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 99.83 kB / 0.6943 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3904, allocations: 89.13 MB / 0.7814 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005977/0.3964, allocations: 4.432 MB / 0.7857 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003212/0.3997, allocations: 2.687 MB / 0.7883 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.3998, allocations: 1.156 kB / 0.7883 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.4001, allocations: 50.53 kB / 0.7884 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.4004, allocations: 91.69 kB / 0.7885 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.4017, allocations: 0.4942 MB / 0.7889 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.402, allocations: 236.7 kB / 0.7892 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.613e-05/0.402, allocations: 9.094 kB / 0.7892 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009798/0.403, allocations: 420 kB / 0.7896 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.4031, allocations: 89.56 kB / 0.7897 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.4032, allocations: 7.688 kB / 0.7897 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.4043, allocations: 496.9 kB / 0.7901 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.4044, allocations: 42.14 kB / 0.7902 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.353e-05/0.4045, allocations: 78.38 kB / 0.7903 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006119/0.4051, allocations: 352 kB / 0.7906 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4051, allocations: 4 kB / 0.7906 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4051, allocations: 4 kB / 0.7906 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.4051, allocations: 1.062 kB / 0.7906 GB, free: 9.961 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.0007856/0.4059, allocations: 0.4921 MB / 0.7911 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4059, allocations: 9.688 kB / 0.7911 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.191e-05/0.406, allocations: 56.3 kB / 0.7911 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.4062, allocations: 29.56 kB / 0.7912 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.4065, allocations: 209.2 kB / 0.7914 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.4065, allocations: 19.2 kB / 0.7914 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.4065, allocations: 17.91 kB / 0.7914 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.4069, allocations: 237.2 kB / 0.7916 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4069, allocations: 3.938 kB / 0.7916 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.407, allocations: 10.61 kB / 0.7917 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.407, allocations: 10.44 kB / 0.7917 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005253/0.4075, allocations: 429.4 kB / 0.7921 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.4087, allocations: 1.011 MB / 0.7931 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.409, allocations: 163.5 kB / 0.7932 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.4091, allocations: 58.98 kB / 0.7933 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.4107, allocations: 1.818 MB / 0.795 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.4107, allocations: 45.38 kB / 0.7951 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.4107, allocations: 0 / 0.7951 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003327/0.411, allocations: 147.4 kB / 0.7952 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.4111, allocations: 52.91 kB / 0.7953 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.4113, allocations: 177.1 kB / 0.7954 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.4113, allocations: 30.8 kB / 0.7955 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.529e-05/0.4114, allocations: 140.3 kB / 0.7956 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.4115, allocations: 62.69 kB / 0.7957 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.4115, allocations: 52.89 kB / 0.7957 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4117, allocations: 326.2 kB / 0.796 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.4118, allocations: 37.05 kB / 0.7961 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.4119, allocations: 137.7 kB / 0.7962 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.4122, allocations: 207.8 kB / 0.7964 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4122, allocations: 1.25 kB / 0.7964 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003376/0.4126, allocations: 211.1 kB / 0.7966 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4126, allocations: 15.22 kB / 0.7966 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4126, allocations: 2.969 kB / 0.7966 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.4126, allocations: 9.75 kB / 0.7966 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.4128, allocations: 59.72 kB / 0.7967 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.4128, allocations: 9.188 kB / 0.7967 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.4129, allocations: 25.09 kB / 0.7967 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.413, allocations: 18.5 kB / 0.7967 GB, free: 4.133 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 0.0001193/0.4131, allocations: 135.1 kB / 0.7969 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.847e-05/0.4131, allocations: 19.19 kB / 0.7969 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.4135, allocations: 152.8 kB / 0.797 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4135, allocations: 6.25 kB / 0.797 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4135, allocations: 0 / 0.797 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4135, allocations: 1.031 kB / 0.797 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.4138, allocations: 221.2 kB / 0.7972 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4138, allocations: 5.781 kB / 0.7973 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.4139, allocations: 22.27 kB / 0.7973 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4139, allocations: 4.938 kB / 0.7973 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.4139, allocations: 4.969 kB / 0.7973 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4139, allocations: 9.156 kB / 0.7973 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4139, allocations: 1.281 kB / 0.7973 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.4142, allocations: 212.6 kB / 0.7975 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.4143, allocations: 112.7 kB / 0.7976 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4143, allocations: 5.031 kB / 0.7976 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.4146, allocations: 19.83 kB / 0.7976 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.4146, allocations: 13.69 kB / 0.7976 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.4146, allocations: 13.75 kB / 0.7977 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.826e-05/0.4147, allocations: 122.4 kB / 0.7978 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4147, allocations: 0 / 0.7978 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003963/0.4151, allocations: 77.33 kB / 0.7978 GB, free: 3.195 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.0007579/0.4159, allocations: 0.8226 MB / 0.7986 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.4162, allocations: 113.5 kB / 0.7988 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4162, allocations: 1.312 kB / 0.7988 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.4162, allocations: 47.31 kB / 0.7988 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.4167, allocations: 70.83 kB / 0.7989 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.419, allocations: 2.044 MB / 0.8009 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.4193, allocations: 0.7084 MB / 0.8016 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001683/0.4195, allocations: 53.7 kB / 0.8016 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.4196, allocations: 44.61 kB / 0.8016 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.4196, allocations: 0 / 0.8016 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.4462, allocations: 5.203 MB / 0.8067 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.363, allocations: 8.25 kB / 0.8067 GB, free: 13.13 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties_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_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)