Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, 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.001826/0.001826, allocations: 187.8 kB / 191.5 MB, free: 5.762 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.693/1.693, allocations: 223.2 MB / 447.7 MB, free: 6.48 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.001005/0.001005, allocations: 100.2 kB / 0.5188 GB, free: 2.848 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.001859, allocations: 261 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004388/0.0004388, allocations: 12 kB / 0.6929 GB, free: 2.324 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.422, allocations: 82.78 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7349/1.157, allocations: 351.8 MB / 1.117 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/1.157, allocations: 77.64 kB / 1.117 GB, free: 3.758 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05007/1.207, allocations: 20.23 MB / 1.137 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.964e-06/1.207, allocations: 0 / 1.137 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.196e-05/1.207, allocations: 4 kB / 1.137 GB, free: 3.215 MB / 0.6667 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.000854/1.208, allocations: 480.6 kB / 1.138 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/1.208, allocations: 8.031 kB / 1.138 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/1.208, allocations: 23.81 kB / 1.138 GB, free: 2.676 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/1.209, allocations: 213 kB / 1.138 GB, free: 2.438 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/1.209, allocations: 11.64 kB / 1.138 GB, free: 2.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/1.209, allocations: 18.5 kB / 1.138 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/1.209, allocations: 238.1 kB / 1.138 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.209, allocations: 0 / 1.138 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/1.209, allocations: 10.44 kB / 1.138 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/1.209, allocations: 11.98 kB / 1.138 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004824/1.21, allocations: 429 kB / 1.138 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/1.211, allocations: 0.9948 MB / 1.139 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/1.211, allocations: 162.2 kB / 1.14 GB, free: 0.7344 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/1.213, allocations: 1.841 MB / 1.141 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/1.213, allocations: 38.12 kB / 1.141 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/1.213, allocations: 4 kB / 1.141 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003279/1.213, allocations: 144.4 kB / 1.142 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/1.213, allocations: 59.3 kB / 1.142 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/1.213, allocations: 148.5 kB / 1.142 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/1.213, allocations: 32.83 kB / 1.142 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.128e-05/1.213, allocations: 142 kB / 1.142 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/1.213, allocations: 50.08 kB / 1.142 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/1.213, allocations: 11.44 kB / 1.142 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.213, allocations: 325.4 kB / 1.142 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.619e-05/1.214, allocations: 34.91 kB / 1.142 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/1.214, allocations: 143.5 kB / 1.142 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.327e-05/1.214, allocations: 55.03 kB / 1.143 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.214, allocations: 0 / 1.143 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003004/1.214, allocations: 215.3 kB / 1.143 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.214, allocations: 8.938 kB / 1.143 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/1.214, allocations: 4 kB / 1.143 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.214, allocations: 4 kB / 1.143 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/1.214, allocations: 59.84 kB / 1.143 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/1.214, allocations: 8 kB / 1.143 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/1.215, allocations: 26.95 kB / 1.143 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/1.215, allocations: 22.48 kB / 1.143 GB, free: 13.11 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.215, allocations: 136.9 kB / 1.143 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/1.215, allocations: 11.91 kB / 1.143 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/1.215, allocations: 161.2 kB / 1.143 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/1.215, allocations: 0 / 1.143 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/1.215, allocations: 0 / 1.143 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.215, allocations: 0 / 1.143 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/1.215, allocations: 225.5 kB / 1.143 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.215, allocations: 4 kB / 1.143 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/1.215, allocations: 31.92 kB / 1.143 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/1.215, allocations: 4 kB / 1.143 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/1.215, allocations: 3.984 kB / 1.143 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.215, allocations: 0 / 1.143 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.215, allocations: 0 / 1.143 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/1.216, allocations: 216.9 kB / 1.144 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/1.216, allocations: 120.5 kB / 1.144 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/1.216, allocations: 0 / 1.144 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/1.216, allocations: 23.05 kB / 1.144 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/1.216, allocations: 11.98 kB / 1.144 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/1.216, allocations: 15.61 kB / 1.144 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.468e-05/1.216, allocations: 122 kB / 1.144 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/1.216, allocations: 3.938 kB / 1.144 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000394/1.217, allocations: 86.05 kB / 1.144 GB, free: 11.98 MB / 0.6823 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 (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.0003331/1.217, allocations: 205.6 kB / 1.144 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002018/1.217, allocations: 113.3 kB / 1.144 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.217, allocations: 0 / 1.144 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/1.217, allocations: 39.23 kB / 1.144 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/1.218, allocations: 55.41 kB / 1.144 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006311/1.218, allocations: 421.1 kB / 1.145 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/1.219, allocations: 0.7172 MB / 1.145 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001799/1.219, allocations: 53.73 kB / 1.146 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/1.219, allocations: 23.06 kB / 1.146 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of SimCode: time 2.81e-07/1.219, allocations: 0 / 1.146 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of Templates: time 0.006538/1.225, allocations: 3.448 MB / 1.149 GB, free: 6.961 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)