Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.004898/0.004898, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001312/0.001312, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002492/0.002492, allocations: 293.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.218/1.218, allocations: 178.6 MB / 0.5074 GB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 99.84 kB / 0.6943 GB, free: 15.24 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.395, allocations: 89.13 MB / 0.7813 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001849/0.3968, allocations: 1.266 MB / 0.7825 GB, free: 144 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.4008, allocations: 2.922 MB / 0.7854 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.538e-05/0.4008, allocations: 0 / 0.7854 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.4009, allocations: 5.328 kB / 0.7854 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.4009, allocations: 7.922 kB / 0.7854 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.4014, allocations: 104.3 kB / 0.7855 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.4015, allocations: 34.91 kB / 0.7855 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.4016, allocations: 1.406 kB / 0.7855 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.402, allocations: 168.6 kB / 0.7857 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.4021, allocations: 13.55 kB / 0.7857 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.4021, allocations: 2.844 kB / 0.7857 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.4023, allocations: 64.69 kB / 0.7858 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.4023, allocations: 9.25 kB / 0.7858 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.4023, allocations: 20.03 kB / 0.7858 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.4025, allocations: 55.64 kB / 0.7859 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4025, allocations: 0 / 0.7859 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4025, allocations: 0 / 0.7859 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.4025, allocations: 0 / 0.7859 GB, free: 13.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004484/0.403, allocations: 355.8 kB / 0.7862 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.403, allocations: 10.12 kB / 0.7862 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.4031, allocations: 40.03 kB / 0.7862 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.4031, allocations: 7.469 kB / 0.7863 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.4032, allocations: 165.8 kB / 0.7864 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4032, allocations: 1.812 kB / 0.7864 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.4033, allocations: 7.609 kB / 0.7864 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.4034, allocations: 66.27 kB / 0.7865 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4034, allocations: 0 / 0.7865 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4034, allocations: 1.406 kB / 0.7865 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.4035, allocations: 1.188 kB / 0.7865 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.4035, allocations: 17.58 kB / 0.7865 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.4037, allocations: 170.3 kB / 0.7867 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.4038, allocations: 52.52 kB / 0.7867 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.4039, allocations: 19.52 kB / 0.7867 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007765/0.4047, allocations: 0.5936 MB / 0.7873 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.4047, allocations: 36.59 kB / 0.7874 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.4047, allocations: 0 / 0.7874 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006161/0.4053, allocations: 307.2 kB / 0.7876 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4054, allocations: 52.5 kB / 0.7877 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.4055, allocations: 102.1 kB / 0.7878 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.4055, allocations: 30.73 kB / 0.7878 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.4056, allocations: 97.05 kB / 0.7879 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.4056, allocations: 27.16 kB / 0.7879 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.4056, allocations: 25.39 kB / 0.788 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4058, allocations: 316 kB / 0.7883 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.4058, allocations: 16.61 kB / 0.7883 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.4059, allocations: 52.89 kB / 0.7883 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.406, allocations: 70.38 kB / 0.7884 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.406, allocations: 3.938 kB / 0.7884 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001506/0.4062, allocations: 103.5 kB / 0.7885 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.4062, allocations: 9.594 kB / 0.7885 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4062, allocations: 1.562 kB / 0.7885 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4062, allocations: 1.469 kB / 0.7885 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.4063, allocations: 20.95 kB / 0.7885 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4063, allocations: 2.406 kB / 0.7885 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.4064, allocations: 6.281 kB / 0.7885 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.4064, allocations: 7.531 kB / 0.7885 GB, free: 10.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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.007e-05/0.4065, allocations: 116.9 kB / 0.7887 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.4065, allocations: 6.688 kB / 0.7887 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.4065, allocations: 13.12 kB / 0.7887 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4065, allocations: 0 / 0.7887 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4065, allocations: 5.172 kB / 0.7887 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4066, allocations: 3.938 kB / 0.7887 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.4068, allocations: 173.8 kB / 0.7889 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4068, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.641e-05/0.4069, allocations: 13.09 kB / 0.7889 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4069, allocations: 1.156 kB / 0.7889 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4069, allocations: 1.5 kB / 0.7889 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.407, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.407, allocations: 5.125 kB / 0.7889 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.4072, allocations: 180.8 kB / 0.789 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.4072, allocations: 87.95 kB / 0.7891 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.4072, allocations: 0 / 0.7891 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4074, allocations: 2.906 kB / 0.7891 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.4074, allocations: 6.875 kB / 0.7891 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.4074, allocations: 9.516 kB / 0.7891 GB, free: 10 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.4074, allocations: 78.06 kB / 0.7892 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.487e-06/0.4074, allocations: 4 kB / 0.7892 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002424/0.4077, allocations: 14.06 kB / 0.7892 GB, free: 9.922 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0004856/0.4082, allocations: 0.7137 MB / 0.7899 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.4083, allocations: 46 kB / 0.79 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4083, allocations: 1.062 kB / 0.79 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.4084, allocations: 14.45 kB / 0.79 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4087, allocations: 11.62 kB / 0.79 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.4102, allocations: 1.533 MB / 0.7915 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.4105, allocations: 0.6815 MB / 0.7922 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.975e-05/0.4105, allocations: 11.39 kB / 0.7922 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.648e-05/0.4106, allocations: 15.25 kB / 0.7922 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4106, allocations: 0 / 0.7922 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.4345, allocations: 1.688 MB / 0.7938 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/8.024, allocations: 8.469 kB / 0.7939 GB, free: 6.102 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)