Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9092/0.9092, allocations: 141.8 MB / 149.3 MB, free: 9.211 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001598, allocations: 183.6 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 92.05 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 272 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.413e-05/2.424e-05, allocations: 0 / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5385, allocations: 82.78 MB / 0.7575 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9646/1.503, allocations: 400.6 MB / 1.149 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/1.504, allocations: 74.58 kB / 1.149 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03198/1.536, allocations: 13.51 MB / 1.162 GB, free: 3.008 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/1.536, allocations: 0 / 1.162 GB, free: 3.008 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.205e-05/1.536, allocations: 0 / 1.162 GB, free: 3.008 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008526/1.536, allocations: 0.5085 MB / 1.162 GB, free: 2.465 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.537, allocations: 12.02 kB / 1.162 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/1.537, allocations: 23.81 kB / 1.162 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/1.537, allocations: 235.5 kB / 1.163 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/1.537, allocations: 19.98 kB / 1.163 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/1.537, allocations: 8 kB / 1.163 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008857/1.538, allocations: 0.6234 MB / 1.163 GB, free: 1.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/1.538, allocations: 205.7 kB / 1.164 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.538, allocations: 0 / 1.164 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/1.538, allocations: 3.938 kB / 1.164 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/1.538, allocations: 4 kB / 1.164 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/1.539, allocations: 274.3 kB / 1.164 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/1.54, allocations: 0.5778 MB / 1.164 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/1.54, allocations: 158.8 kB / 1.164 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/1.541, allocations: 387.7 kB / 1.165 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.541, allocations: 30.56 kB / 1.165 GB, free: 48 kB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.513e-06/1.541, allocations: 0 / 1.165 GB, free: 48 kB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.5003/2.041, allocations: 0.6379 MB / 1.166 GB, free: 274.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/2.041, allocations: 66.94 kB / 1.166 GB, free: 274.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/2.041, allocations: 111.2 kB / 1.166 GB, free: 274.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/2.041, allocations: 26.64 kB / 1.166 GB, free: 274.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/2.041, allocations: 90.67 kB / 1.166 GB, free: 274.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/2.042, allocations: 116 kB / 1.166 GB, free: 274.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/2.042, allocations: 0.5312 kB / 1.166 GB, free: 274.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.474e-05/2.042, allocations: 329.5 kB / 1.166 GB, free: 274 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/2.042, allocations: 124.1 kB / 1.166 GB, free: 274 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/2.042, allocations: 130.2 kB / 1.166 GB, free: 274 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/2.045, allocations: 442.8 kB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/2.045, allocations: 3.781 kB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002878/2.048, allocations: 0.6415 MB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/2.048, allocations: 8.375 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/2.048, allocations: 0 / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/2.048, allocations: 3.141 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/2.048, allocations: 111.9 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/2.048, allocations: 3.922 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/2.049, allocations: 67.75 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/2.049, allocations: 14.86 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.102e-05/2.049, allocations: 114.1 kB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002793/2.052, allocations: 0.6347 MB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/2.052, allocations: 17.84 kB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/2.055, allocations: 0.6885 MB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/2.055, allocations: 4.844 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/2.055, allocations: 3.812 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/2.055, allocations: 4.547 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/2.055, allocations: 283.7 kB / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/2.055, allocations: 2.078 kB / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/2.056, allocations: 108.7 kB / 1.17 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/2.056, allocations: 3.234 kB / 1.17 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/2.056, allocations: 12.84 kB / 1.17 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/2.056, allocations: 4.484 kB / 1.17 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.056, allocations: 0 / 1.17 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/2.059, allocations: 0.6853 MB / 1.17 GB, free: 273.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/2.059, allocations: 99.19 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/2.059, allocations: 5.75 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/2.059, allocations: 42.17 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/2.059, allocations: 115.7 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/2.06, allocations: 18.23 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.092e-05/2.06, allocations: 95.86 kB / 1.171 GB, free: 273.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/2.06, allocations: 0 / 1.171 GB, free: 273.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005137/2.06, allocations: 114.1 kB / 1.171 GB, free: 273.3 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003671/2.064, allocations: 1.345 MB / 1.172 GB, free: 272.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007004/2.065, allocations: 328.2 kB / 1.172 GB, free: 272.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/2.065, allocations: 0.9688 kB / 1.172 GB, free: 272.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/2.065, allocations: 199.8 kB / 1.172 GB, free: 272.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/2.065, allocations: 58.67 kB / 1.173 GB, free: 272.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008454/2.066, allocations: 375.5 kB / 1.173 GB, free: 272.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/2.067, allocations: 0.7365 MB / 1.174 GB, free: 271.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005428/2.067, allocations: 182.6 kB / 1.174 GB, free: 271.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/2.067, allocations: 62.12 kB / 1.174 GB, free: 271.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/2.067, allocations: 3.438 kB / 1.174 GB, free: 271.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05112/2.118, allocations: 6.7 MB / 1.18 GB, free: 271.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/2.119, allocations: 164.2 kB / 1.181 GB, free: 271.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/4.152, allocations: 6.406 kB / 1.181 GB, free: 271.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)