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.8499/0.8499, allocations: 143.4 MB / 158.3 MB, free: 5.816 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.001183/0.001183, allocations: 185 kB / 191.5 MB, free: 5.77 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.595/1.595, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.001034/0.001034, allocations: 92.33 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001789/0.001789, allocations: 273.5 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007786/0.0007787, allocations: 14.44 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.165, allocations: 82.8 MB / 0.7738 GB, free: 13.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.319, allocations: 401.3 MB / 1.166 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.319, allocations: 77.23 kB / 1.166 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03129/1.35, allocations: 13.61 MB / 1.179 GB, free: 203 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.525e-06/1.35, allocations: 3.938 kB / 1.179 GB, free: 203 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.017e-05/1.35, allocations: 3.906 kB / 1.179 GB, free: 203 MB / 0.7136 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.0007265/1.351, allocations: 0.525 MB / 1.18 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.351, allocations: 7.938 kB / 1.18 GB, free: 202.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.598e-05/1.351, allocations: 53.41 kB / 1.18 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/1.351, allocations: 23.67 kB / 1.18 GB, free: 202.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/1.352, allocations: 243.3 kB / 1.18 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/1.352, allocations: 27.73 kB / 1.18 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/1.352, allocations: 15.69 kB / 1.18 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/1.352, allocations: 313.2 kB / 1.18 GB, free: 202.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/1.352, allocations: 0 / 1.18 GB, free: 202.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/1.352, allocations: 11.53 kB / 1.18 GB, free: 202.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/1.352, allocations: 3.906 kB / 1.18 GB, free: 202.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/1.354, allocations: 0.7961 MB / 1.181 GB, free: 202.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/1.354, allocations: 316 kB / 1.181 GB, free: 202 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/1.355, allocations: 0.772 MB / 1.182 GB, free: 202 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/1.356, allocations: 388.5 kB / 1.182 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/1.356, allocations: 42.34 kB / 1.182 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/1.356, allocations: 0 / 1.182 GB, free: 201.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001373/1.357, allocations: 0.7375 MB / 1.183 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/1.357, allocations: 59.25 kB / 1.183 GB, free: 201.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.85e-05/1.357, allocations: 107.7 kB / 1.183 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.357, allocations: 36.86 kB / 1.183 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/1.357, allocations: 88.16 kB / 1.183 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/1.357, allocations: 118 kB / 1.184 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/1.357, allocations: 15.47 kB / 1.184 GB, free: 201.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.613e-05/1.357, allocations: 329 kB / 1.184 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/1.358, allocations: 227.4 kB / 1.184 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/1.358, allocations: 225.9 kB / 1.184 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/1.359, allocations: 205.4 kB / 1.185 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.359, allocations: 0 / 1.185 GB, free: 200.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009263/1.359, allocations: 0.509 MB / 1.185 GB, free: 200.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.359, allocations: 4.531 kB / 1.185 GB, free: 200.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.36, allocations: 0 / 1.185 GB, free: 200.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.36, allocations: 3.906 kB / 1.185 GB, free: 200.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/1.36, allocations: 113.3 kB / 1.185 GB, free: 200.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.36, allocations: 0 / 1.185 GB, free: 200.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/1.36, allocations: 74.42 kB / 1.185 GB, free: 200.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/1.36, allocations: 11.33 kB / 1.185 GB, free: 200.7 MB / 0.7136 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 () * Number of clocked 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 0.000119/1.36, allocations: 148.1 kB / 1.185 GB, free: 200.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/1.36, allocations: 15.62 kB / 1.185 GB, free: 200.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1.361, allocations: 0.5679 MB / 1.186 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/1.361, allocations: 7.859 kB / 1.186 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.361, allocations: 0 / 1.186 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.361, allocations: 6.938 kB / 1.186 GB, free: 200.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/1.362, allocations: 319.9 kB / 1.186 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.362, allocations: 0 / 1.186 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/1.362, allocations: 118.4 kB / 1.186 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/1.362, allocations: 0 / 1.186 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/1.362, allocations: 10.69 kB / 1.186 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.362, allocations: 7.906 kB / 1.186 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.362, allocations: 0 / 1.186 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009371/1.363, allocations: 0.5485 MB / 1.187 GB, free: 200.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/1.363, allocations: 100.7 kB / 1.187 GB, free: 200.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/1.363, allocations: 11.88 kB / 1.187 GB, free: 200.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/1.363, allocations: 52.58 kB / 1.187 GB, free: 200.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/1.363, allocations: 116.8 kB / 1.187 GB, free: 200.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/1.363, allocations: 19.3 kB / 1.187 GB, free: 200.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.691e-05/1.364, allocations: 96.25 kB / 1.187 GB, free: 200 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/1.364, allocations: 0 / 1.187 GB, free: 200 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004452/1.364, allocations: 129 kB / 1.187 GB, free: 200 MB / 0.7136 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 (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.001447/1.365, allocations: 1.221 MB / 1.189 GB, free: 199.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009228/1.366, allocations: 0.5191 MB / 1.189 GB, free: 199.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.366, allocations: 0 / 1.189 GB, free: 199.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004531/1.367, allocations: 289.7 kB / 1.189 GB, free: 199.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/1.367, allocations: 65.62 kB / 1.189 GB, free: 199.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/1.37, allocations: 1.599 MB / 1.191 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/1.37, allocations: 0.7442 MB / 1.192 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000422/1.37, allocations: 187.8 kB / 1.192 GB, free: 198 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/1.37, allocations: 64.02 kB / 1.192 GB, free: 198 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.37, allocations: 0 / 1.192 GB, free: 198 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/1.388, allocations: 7.418 MB / 1.199 GB, free: 197.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/1.388, allocations: 204.2 kB / 1.199 GB, free: 197.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/3.189, allocations: 0 / 1.199 GB, free: 197.2 MB / 0.7136 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)