Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 173.5 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5258/0.5258, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 223.3 MB / 348.4 MB, free: 5.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009795/0.0009796, allocations: 89.92 kB / 420.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003614, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2841, allocations: 71.01 MB / 0.5594 GB, free: 43.7 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7937/1.078, allocations: 403.8 MB / 0.9538 GB, free: 228.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/1.078, allocations: 102.1 kB / 0.9539 GB, free: 228.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.436/4.514, allocations: 1.178 GB / 2.132 GB, free: 75.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/4.514, allocations: 6.312 kB / 2.132 GB, free: 75.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003354/4.515, allocations: 45.94 kB / 2.132 GB, free: 75.5 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.007042/4.522, allocations: 2.495 MB / 2.135 GB, free: 74.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/4.522, allocations: 14.25 kB / 2.135 GB, free: 74.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/4.524, allocations: 453.7 kB / 2.135 GB, free: 74.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00606/4.53, allocations: 2.25 MB / 2.137 GB, free: 74.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/4.53, allocations: 88.95 kB / 2.138 GB, free: 74.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003819/4.531, allocations: 120.9 kB / 2.138 GB, free: 74.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/4.533, allocations: 1.3 MB / 2.139 GB, free: 73.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/4.534, allocations: 3.469 kB / 2.139 GB, free: 73.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/4.534, allocations: 50.31 kB / 2.139 GB, free: 73.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/4.534, allocations: 45.53 kB / 2.139 GB, free: 73.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/4.536, allocations: 0.9601 MB / 2.14 GB, free: 73.75 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008467/4.544, allocations: 6.889 MB / 2.147 GB, free: 69.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/4.546, allocations: 1.267 MB / 2.148 GB, free: 69.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/4.547, allocations: 391.3 kB / 2.148 GB, free: 69.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004955/4.552, allocations: 2.982 MB / 2.151 GB, free: 67.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007471/4.552, allocations: 418.2 kB / 2.152 GB, free: 67.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006585/4.553, allocations: 85.41 kB / 2.152 GB, free: 67.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=62): time 5.14e-06/4.553, allocations: 0 / 2.152 GB, free: 67.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62): time 0.002667/4.556, allocations: 1.2 MB / 2.153 GB, free: 66.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/4.556, allocations: 113.3 kB / 2.153 GB, free: 66.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/4.558, allocations: 1.484 MB / 2.154 GB, free: 66.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.45e-05/4.558, allocations: 46.95 kB / 2.154 GB, free: 66.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/4.559, allocations: 0.8779 MB / 2.155 GB, free: 66.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/4.559, allocations: 224.3 kB / 2.156 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/4.559, allocations: 22.02 kB / 2.156 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/4.559, allocations: 353.1 kB / 2.156 GB, free: 65.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006929/4.56, allocations: 313.7 kB / 2.156 GB, free: 65.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/4.561, allocations: 0.737 MB / 2.157 GB, free: 65.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/4.562, allocations: 1.022 MB / 2.158 GB, free: 64.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/4.562, allocations: 3.469 kB / 2.158 GB, free: 64.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002208/4.564, allocations: 1.175 MB / 2.159 GB, free: 64.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/4.564, allocations: 443.2 kB / 2.159 GB, free: 64.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/4.565, allocations: 11.84 kB / 2.159 GB, free: 64.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/4.565, allocations: 16.94 kB / 2.159 GB, free: 64.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/4.565, allocations: 243 kB / 2.16 GB, free: 64.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.654e-05/4.566, allocations: 28.33 kB / 2.16 GB, free: 64.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/4.567, allocations: 121.5 kB / 2.16 GB, free: 64.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/4.567, allocations: 58.5 kB / 2.16 GB, free: 64.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/4.567, allocations: 7.625 kB / 2.16 GB, free: 64.02 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002081/4.569, allocations: 1.009 MB / 2.161 GB, free: 63.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-05/4.569, allocations: 10.06 kB / 2.161 GB, free: 63.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/4.569, allocations: 15.84 kB / 2.161 GB, free: 63.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/4.57, allocations: 244.7 kB / 2.161 GB, free: 63.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.009e-05/4.57, allocations: 23.53 kB / 2.161 GB, free: 63.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/4.571, allocations: 114.6 kB / 2.161 GB, free: 63.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/4.571, allocations: 48.84 kB / 2.161 GB, free: 63.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * 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.0009863/4.572, allocations: 485.5 kB / 2.162 GB, free: 63.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/4.573, allocations: 163.2 kB / 2.162 GB, free: 63.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/4.575, allocations: 1.145 MB / 2.163 GB, free: 63.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/4.575, allocations: 6.844 kB / 2.163 GB, free: 63.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/4.575, allocations: 5.125 kB / 2.163 GB, free: 63.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/4.577, allocations: 0.9854 MB / 2.164 GB, free: 63.13 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/4.581, allocations: 2.365 MB / 2.166 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/4.581, allocations: 0 / 2.166 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/4.581, allocations: 138.3 kB / 2.167 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/4.582, allocations: 24.17 kB / 2.167 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/4.582, allocations: 18.22 kB / 2.167 GB, free: 62.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007674/4.582, allocations: 1.294 MB / 2.168 GB, free: 61.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/4.582, allocations: 3.938 kB / 2.168 GB, free: 61.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/4.585, allocations: 1.524 MB / 2.169 GB, free: 61.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006586/4.585, allocations: 340.4 kB / 2.17 GB, free: 60.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/4.586, allocations: 12.94 kB / 2.17 GB, free: 60.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000975/4.587, allocations: 104.5 kB / 2.17 GB, free: 60.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/4.587, allocations: 58.7 kB / 2.17 GB, free: 60.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.628e-05/4.587, allocations: 31.56 kB / 2.17 GB, free: 60.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001602/4.589, allocations: 1.047 MB / 2.171 GB, free: 60.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/4.589, allocations: 0 / 2.171 GB, free: 60.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003263/4.592, allocations: 0.9624 MB / 2.172 GB, free: 60.55 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002354/4.594, allocations: 1.28 MB / 2.173 GB, free: 60.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002599/4.597, allocations: 1.455 MB / 2.174 GB, free: 60.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/4.597, allocations: 0 / 2.174 GB, free: 60.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008585/4.598, allocations: 0.5038 MB / 2.175 GB, free: 60.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/4.601, allocations: 0.7128 MB / 2.176 GB, free: 60.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/4.606, allocations: 3.637 MB / 2.179 GB, free: 58.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009064/4.607, allocations: 1.357 MB / 2.181 GB, free: 57.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00185/4.609, allocations: 438.3 kB / 2.181 GB, free: 57.69 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/4.609, allocations: 136.5 kB / 2.181 GB, free: 57.69 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/4.609, allocations: 0 / 2.181 GB, free: 57.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.04822/4.657, allocations: 34.66 MB / 2.215 GB, free: 55.78 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)