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 0.7883/0.7883, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 188.7 kB / 187.3 MB, free: 11.89 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.596/1.596, allocations: 221.3 MB / 441.4 MB, free: 4.66 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.001177/0.001177, allocations: 92.72 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 273.7 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.002e-05/4.003e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5119/0.5119, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9183/1.43, allocations: 351.7 MB / 1.108 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.431, allocations: 68.78 kB / 1.108 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04761/1.478, allocations: 20.17 MB / 1.128 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/1.478, allocations: 0 / 1.128 GB, free: 5.859 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.478, allocations: 8 kB / 1.128 GB, free: 5.852 MB / 0.6511 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.0008994/1.479, allocations: 479.4 kB / 1.128 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/1.479, allocations: 8.031 kB / 1.128 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/1.479, allocations: 19.89 kB / 1.128 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/1.48, allocations: 224.7 kB / 1.128 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/1.48, allocations: 8.016 kB / 1.128 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/1.48, allocations: 18.19 kB / 1.128 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/1.48, allocations: 237.2 kB / 1.128 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.48, allocations: 3.938 kB / 1.128 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/1.48, allocations: 11 kB / 1.128 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/1.48, allocations: 4 kB / 1.128 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/1.481, allocations: 426.5 kB / 1.129 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/1.482, allocations: 0.9846 MB / 1.13 GB, free: 3.527 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/1.482, allocations: 159.6 kB / 1.13 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/1.483, allocations: 58.8 kB / 1.13 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/1.485, allocations: 1.939 MB / 1.132 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/1.485, allocations: 38.44 kB / 1.132 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/1.485, allocations: 0 / 1.132 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0003323/1.485, allocations: 125.2 kB / 1.132 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/1.485, allocations: 51.41 kB / 1.132 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/1.485, allocations: 158.8 kB / 1.132 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/1.485, allocations: 33.64 kB / 1.132 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/1.485, allocations: 135 kB / 1.132 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/1.485, allocations: 46.23 kB / 1.133 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/1.485, allocations: 7.938 kB / 1.133 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.486, allocations: 325.4 kB / 1.133 GB, free: 196 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/1.486, allocations: 34.75 kB / 1.133 GB, free: 168 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/1.486, allocations: 142.4 kB / 1.133 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/1.486, allocations: 57.53 kB / 1.133 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/1.486, allocations: 4 kB / 1.133 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003199/1.486, allocations: 214.2 kB / 1.133 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.486, allocations: 4 kB / 1.133 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.486, allocations: 4 kB / 1.133 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/1.486, allocations: 8 kB / 1.133 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/1.487, allocations: 55.91 kB / 1.133 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/1.487, allocations: 12.36 kB / 1.133 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/1.487, allocations: 31.31 kB / 1.133 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/1.487, allocations: 15.31 kB / 1.133 GB, free: 15.63 MB / 0.6667 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 () * 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.0001058/1.487, allocations: 123.5 kB / 1.134 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/1.487, allocations: 19.81 kB / 1.134 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/1.487, allocations: 144.3 kB / 1.134 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.487, allocations: 4 kB / 1.134 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.487, allocations: 0 / 1.134 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/1.487, allocations: 7.953 kB / 1.134 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/1.488, allocations: 217.8 kB / 1.134 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.488, allocations: 0 / 1.134 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/1.488, allocations: 35.05 kB / 1.134 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.488, allocations: 0 / 1.134 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/1.488, allocations: 4 kB / 1.134 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.488, allocations: 0 / 1.134 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.488, allocations: 3.984 kB / 1.134 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/1.488, allocations: 226 kB / 1.134 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.488, allocations: 115.4 kB / 1.134 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/1.488, allocations: 7.984 kB / 1.134 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/1.488, allocations: 19.36 kB / 1.134 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/1.488, allocations: 7.984 kB / 1.134 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/1.488, allocations: 19.05 kB / 1.134 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 8.238e-05/1.488, allocations: 115.6 kB / 1.134 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/1.488, allocations: 4 kB / 1.134 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004476/1.489, allocations: 86.28 kB / 1.135 GB, free: 14.5 MB / 0.6667 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 (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.0003462/1.489, allocations: 182.7 kB / 1.135 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002382/1.49, allocations: 117.5 kB / 1.135 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.49, allocations: 4 kB / 1.135 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.925e-05/1.49, allocations: 39.62 kB / 1.135 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/1.49, allocations: 56.06 kB / 1.135 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/1.491, allocations: 170 kB / 1.135 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/1.491, allocations: 0.717 MB / 1.136 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001783/1.491, allocations: 53.86 kB / 1.136 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/1.491, allocations: 19.44 kB / 1.136 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of SimCode: time 3.6e-07/1.491, allocations: 3.938 kB / 1.136 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of Templates: time 0.007198/1.498, allocations: 3.516 MB / 1.139 GB, free: 9.715 MB / 0.6667 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)