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/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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.83/0.83, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001224/0.001224, allocations: 181 kB / 191.5 MB, free: 5.754 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.778/1.778, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0008672/0.0008671, allocations: 92.27 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002684/0.002684, allocations: 273.8 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006697/0.00067, allocations: 16.95 kB / 0.6929 GB, free: 59.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2324, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.254, allocations: 377.9 MB / 1.143 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.254, allocations: 74.09 kB / 1.143 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.584/1.838, allocations: 19.1 MB / 1.161 GB, free: 275.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.202e-06/1.838, allocations: 0 / 1.161 GB, free: 275.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.079e-05/1.838, allocations: 3.938 kB / 1.161 GB, free: 275.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007343/1.839, allocations: 366.1 kB / 1.162 GB, free: 274.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.353e-05/1.839, allocations: 10.67 kB / 1.162 GB, free: 274.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/1.839, allocations: 11.31 kB / 1.162 GB, free: 274.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/1.839, allocations: 165.7 kB / 1.162 GB, free: 274.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/1.839, allocations: 1.156 kB / 1.162 GB, free: 274.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/1.839, allocations: 7.25 kB / 1.162 GB, free: 274.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/1.84, allocations: 50.56 kB / 1.162 GB, free: 274.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.84, allocations: 3 kB / 1.162 GB, free: 274.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/1.84, allocations: 7.875 kB / 1.162 GB, free: 274.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/1.84, allocations: 1.312 kB / 1.162 GB, free: 274.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.049e-05/1.84, allocations: 19.73 kB / 1.162 GB, free: 274.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/1.84, allocations: 165.7 kB / 1.162 GB, free: 274.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/1.84, allocations: 52 kB / 1.162 GB, free: 274.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007938/1.841, allocations: 0.6044 MB / 1.163 GB, free: 273.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.841, allocations: 34.81 kB / 1.163 GB, free: 273.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/1.841, allocations: 0 / 1.163 GB, free: 273.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0006763/1.842, allocations: 298.7 kB / 1.163 GB, free: 273.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/1.842, allocations: 54.28 kB / 1.163 GB, free: 273.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.407e-05/1.842, allocations: 89.77 kB / 1.163 GB, free: 273.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/1.842, allocations: 35.02 kB / 1.163 GB, free: 273.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/1.842, allocations: 89.94 kB / 1.163 GB, free: 273.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/1.842, allocations: 27.84 kB / 1.163 GB, free: 273.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/1.842, allocations: 0 / 1.163 GB, free: 273.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.817e-05/1.842, allocations: 316.8 kB / 1.164 GB, free: 272.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-05/1.842, allocations: 13.72 kB / 1.164 GB, free: 272.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/1.842, allocations: 50.98 kB / 1.164 GB, free: 272.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.8e-05/1.842, allocations: 20.61 kB / 1.164 GB, free: 272.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.842, allocations: 1.375 kB / 1.164 GB, free: 272.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000151/1.842, allocations: 95.42 kB / 1.164 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.842, allocations: 7.891 kB / 1.164 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.842, allocations: 3.219 kB / 1.164 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.842, allocations: 10.28 kB / 1.164 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/1.843, allocations: 25.11 kB / 1.164 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.843, allocations: 2.312 kB / 1.164 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/1.843, allocations: 0 / 1.164 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/1.843, allocations: 10.38 kB / 1.164 GB, free: 272.8 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/1.843, allocations: 116.7 kB / 1.164 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/1.843, allocations: 2.469 kB / 1.164 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/1.843, allocations: 11.23 kB / 1.164 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.843, allocations: 8.734 kB / 1.164 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.843, allocations: 0 / 1.164 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.843, allocations: 0 / 1.164 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/1.843, allocations: 179.9 kB / 1.164 GB, free: 272.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.843, allocations: 0.7969 kB / 1.164 GB, free: 272.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.471e-05/1.843, allocations: 14.56 kB / 1.164 GB, free: 272.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.843, allocations: 2.969 kB / 1.164 GB, free: 272.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/1.843, allocations: 0.9844 kB / 1.164 GB, free: 272.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.843, allocations: 0 / 1.164 GB, free: 272.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.843, allocations: 0 / 1.164 GB, free: 272.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/1.843, allocations: 181.6 kB / 1.164 GB, free: 272.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/1.844, allocations: 82.08 kB / 1.165 GB, free: 272.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/1.844, allocations: 4.688 kB / 1.165 GB, free: 272.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.656e-05/1.844, allocations: 7.266 kB / 1.165 GB, free: 272.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/1.844, allocations: 5.125 kB / 1.165 GB, free: 272.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/1.844, allocations: 0 / 1.165 GB, free: 272.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.418e-05/1.844, allocations: 83.25 kB / 1.165 GB, free: 272.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.844, allocations: 0 / 1.165 GB, free: 272.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002528/1.844, allocations: 26.61 kB / 1.165 GB, free: 272.2 MB / 0.7136 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 (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.0002831/1.844, allocations: 142.5 kB / 1.165 GB, free: 272.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000128/1.844, allocations: 42.52 kB / 1.165 GB, free: 272.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.844, allocations: 256 / 1.165 GB, free: 272.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-05/1.844, allocations: 24.42 kB / 1.165 GB, free: 272.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/1.845, allocations: 16.03 kB / 1.165 GB, free: 272.1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/1.845, allocations: 391.1 kB / 1.165 GB, free: 271.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/1.846, allocations: 0.6861 MB / 1.166 GB, free: 271.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.204e-05/1.846, allocations: 12.3 kB / 1.166 GB, free: 271.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/1.846, allocations: 12.81 kB / 1.166 GB, free: 271.1 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/1.846, allocations: 3.938 kB / 1.166 GB, free: 271 MB / 0.7136 GB Notification: Performance of Templates: time 0.004299/1.85, allocations: 1.167 MB / 1.167 GB, free: 270.9 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)