Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4578/0.4578, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.288/1.288, allocations: 223.3 MB / 348.4 MB, free: 5.02 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.0008408/0.0008409, allocations: 106.2 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 12 kB / 0.4901 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 71.02 MB / 0.5594 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9564/1.244, allocations: 403.9 MB / 0.9539 GB, free: 227.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.244, allocations: 102.2 kB / 0.954 GB, free: 227.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.423/4.667, allocations: 1.179 GB / 2.133 GB, free: 73.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.113e-06/4.667, allocations: 0 / 2.133 GB, free: 73.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001887/4.667, allocations: 55.5 kB / 2.133 GB, free: 73.1 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.004926/4.672, allocations: 2.49 MB / 2.135 GB, free: 72.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/4.672, allocations: 6 kB / 2.135 GB, free: 72.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/4.674, allocations: 458.6 kB / 2.136 GB, free: 72.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/4.678, allocations: 2.257 MB / 2.138 GB, free: 71.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/4.679, allocations: 93.41 kB / 2.138 GB, free: 71.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/4.679, allocations: 122 kB / 2.138 GB, free: 71.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/4.681, allocations: 1.301 MB / 2.139 GB, free: 71.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/4.681, allocations: 5.594 kB / 2.139 GB, free: 71.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/4.681, allocations: 47.19 kB / 2.139 GB, free: 71.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.464e-05/4.681, allocations: 46.19 kB / 2.139 GB, free: 71.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/4.683, allocations: 0.9615 MB / 2.14 GB, free: 71.32 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.007179/4.69, allocations: 6.885 MB / 2.147 GB, free: 67.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/4.692, allocations: 1.263 MB / 2.148 GB, free: 66.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/4.692, allocations: 387.6 kB / 2.149 GB, free: 66.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004275/4.697, allocations: 2.99 MB / 2.152 GB, free: 64.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000714/4.697, allocations: 410.8 kB / 2.152 GB, free: 64.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005878/4.698, allocations: 87.5 kB / 2.152 GB, free: 64.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=62): time 3.456e-06/4.698, allocations: 0 / 2.152 GB, free: 64.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62): time 0.002352/4.7, allocations: 1.206 MB / 2.153 GB, free: 64.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/4.7, allocations: 111 kB / 2.153 GB, free: 64.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/4.702, allocations: 1.48 MB / 2.155 GB, free: 63.99 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/4.702, allocations: 44.64 kB / 2.155 GB, free: 63.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005648/4.703, allocations: 0.8768 MB / 2.156 GB, free: 63.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/4.703, allocations: 223.3 kB / 2.156 GB, free: 63.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.2e-05/4.703, allocations: 20.31 kB / 2.156 GB, free: 63.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/4.703, allocations: 349.5 kB / 2.156 GB, free: 63.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/4.704, allocations: 314.3 kB / 2.156 GB, free: 63.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/4.705, allocations: 0.7343 MB / 2.157 GB, free: 62.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/4.706, allocations: 1.021 MB / 2.158 GB, free: 62.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/4.706, allocations: 3.938 kB / 2.158 GB, free: 62.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002162/4.709, allocations: 1.178 MB / 2.159 GB, free: 62.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00018/4.709, allocations: 444.8 kB / 2.16 GB, free: 61.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/4.709, allocations: 14.75 kB / 2.16 GB, free: 61.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/4.709, allocations: 14.03 kB / 2.16 GB, free: 61.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/4.71, allocations: 245.9 kB / 2.16 GB, free: 61.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/4.71, allocations: 25.55 kB / 2.16 GB, free: 61.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/4.711, allocations: 123.6 kB / 2.16 GB, free: 61.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/4.711, allocations: 57.59 kB / 2.16 GB, free: 61.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/4.711, allocations: 3.844 kB / 2.16 GB, free: 61.59 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001706/4.713, allocations: 1.01 MB / 2.161 GB, free: 61.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/4.713, allocations: 12.19 kB / 2.161 GB, free: 61.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/4.713, allocations: 22.28 kB / 2.161 GB, free: 61.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/4.714, allocations: 242.7 kB / 2.162 GB, free: 61.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/4.714, allocations: 22.62 kB / 2.162 GB, free: 61.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/4.715, allocations: 115.1 kB / 2.162 GB, free: 61.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/4.715, allocations: 51.14 kB / 2.162 GB, free: 61.54 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.0008821/4.716, allocations: 488.8 kB / 2.162 GB, free: 61.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/4.716, allocations: 159.6 kB / 2.162 GB, free: 61.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/4.718, allocations: 1.147 MB / 2.163 GB, free: 61.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/4.718, allocations: 10.66 kB / 2.163 GB, free: 61.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/4.718, allocations: 1.688 kB / 2.163 GB, free: 61.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/4.72, allocations: 0.9774 MB / 2.164 GB, free: 60.7 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.004339/4.724, allocations: 2.365 MB / 2.167 GB, free: 60.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/4.724, allocations: 3.094 kB / 2.167 GB, free: 60.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/4.725, allocations: 136.5 kB / 2.167 GB, free: 60.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/4.725, allocations: 25.02 kB / 2.167 GB, free: 60.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/4.725, allocations: 22 kB / 2.167 GB, free: 60.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007349/4.726, allocations: 1.287 MB / 2.168 GB, free: 58.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/4.726, allocations: 8.719 kB / 2.168 GB, free: 58.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/4.728, allocations: 1.525 MB / 2.17 GB, free: 58.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000649/4.729, allocations: 332.8 kB / 2.17 GB, free: 58.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/4.729, allocations: 16.78 kB / 2.17 GB, free: 58.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009763/4.73, allocations: 104.5 kB / 2.17 GB, free: 58.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/4.73, allocations: 58.62 kB / 2.17 GB, free: 58.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/4.73, allocations: 33.7 kB / 2.17 GB, free: 58.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001478/4.732, allocations: 1.043 MB / 2.171 GB, free: 58.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/4.732, allocations: 2.625 kB / 2.171 GB, free: 58.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003054/4.735, allocations: 0.9664 MB / 2.172 GB, free: 58.11 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,coo.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.002288/4.737, allocations: 1.278 MB / 2.173 GB, free: 57.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002611/4.74, allocations: 1.452 MB / 2.175 GB, free: 57.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/4.74, allocations: 1.125 kB / 2.175 GB, free: 57.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009008/4.741, allocations: 0.5126 MB / 2.175 GB, free: 57.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/4.744, allocations: 0.7206 MB / 2.176 GB, free: 57.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/4.749, allocations: 3.63 MB / 2.18 GB, free: 55.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009691/4.75, allocations: 1.357 MB / 2.181 GB, free: 55.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001952/4.752, allocations: 430.6 kB / 2.181 GB, free: 55.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003526/4.752, allocations: 133.8 kB / 2.181 GB, free: 55.25 MB / 0.6198 GB Notification: Performance of SimCode: time 5e-07/4.752, allocations: 2.656 kB / 2.181 GB, free: 55.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.05141/4.804, allocations: 34.66 MB / 2.215 GB, free: 53.28 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)