Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.821/0.821, allocations: 128.7 MB / 143.7 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 188.2 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.4 MB / 409 MB, free: 10.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 95.77 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 9.438 kB / 0.5603 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 76.77 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.151, allocations: 416.7 MB / 1.042 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.151, allocations: 104.9 kB / 1.042 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.44/4.591, allocations: 1.127 GB / 2.169 GB, free: 64.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.102e-06/4.591, allocations: 4 kB / 2.169 GB, free: 64.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002144/4.591, allocations: 56.56 kB / 2.169 GB, free: 64.75 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.00555/4.597, allocations: 2.58 MB / 2.171 GB, free: 62.14 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/4.597, allocations: 15.97 kB / 2.171 GB, free: 62.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/4.599, allocations: 463.2 kB / 2.172 GB, free: 61.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005069/4.604, allocations: 2.409 MB / 2.174 GB, free: 59.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/4.604, allocations: 94.3 kB / 2.174 GB, free: 59.19 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/4.604, allocations: 126.6 kB / 2.174 GB, free: 59.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/4.606, allocations: 1.39 MB / 2.176 GB, free: 57.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/4.606, allocations: 3.938 kB / 2.176 GB, free: 57.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/4.607, allocations: 48 kB / 2.176 GB, free: 57.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/4.607, allocations: 34.84 kB / 2.176 GB, free: 57.49 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/4.609, allocations: 1.006 MB / 2.177 GB, free: 56.48 MB / 0.6667 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.006877/4.616, allocations: 7.254 MB / 2.184 GB, free: 48.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/4.617, allocations: 1.278 MB / 2.185 GB, free: 47.34 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003514/4.621, allocations: 2.677 MB / 2.188 GB, free: 44.39 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009592/4.622, allocations: 457.6 kB / 2.188 GB, free: 43.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00044/4.622, allocations: 91.2 kB / 2.188 GB, free: 43.84 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=58): time 1.763e-06/4.622, allocations: 4 kB / 2.188 GB, free: 43.83 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58): time 0.002651/4.625, allocations: 1.215 MB / 2.19 GB, free: 42.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/4.625, allocations: 196.5 kB / 2.19 GB, free: 42.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/4.627, allocations: 1.39 MB / 2.191 GB, free: 40.95 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/4.627, allocations: 37.7 kB / 2.191 GB, free: 40.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005548/4.627, allocations: 0.9185 MB / 2.192 GB, free: 39.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/4.627, allocations: 213 kB / 2.192 GB, free: 39.78 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/4.628, allocations: 20 kB / 2.192 GB, free: 39.76 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.42e-05/4.628, allocations: 341.9 kB / 2.193 GB, free: 39.42 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006764/4.628, allocations: 346 kB / 2.193 GB, free: 39.08 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/4.629, allocations: 0.7937 MB / 2.194 GB, free: 38.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007979/4.63, allocations: 476.9 kB / 2.194 GB, free: 37.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/4.63, allocations: 0 / 2.194 GB, free: 37.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002061/4.632, allocations: 1.255 MB / 2.195 GB, free: 36.33 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007503/4.633, allocations: 5.011 MB / 2.2 GB, free: 30.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/4.633, allocations: 12 kB / 2.2 GB, free: 30.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/4.633, allocations: 23.94 kB / 2.2 GB, free: 30.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/4.634, allocations: 255.6 kB / 2.201 GB, free: 30.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/4.634, allocations: 27.92 kB / 2.201 GB, free: 30.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/4.635, allocations: 119.8 kB / 2.201 GB, free: 30.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/4.635, allocations: 55.98 kB / 2.201 GB, free: 30.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/4.635, allocations: 4 kB / 2.201 GB, free: 30.41 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001684/4.637, allocations: 1.047 MB / 2.202 GB, free: 29.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/4.637, allocations: 16 kB / 2.202 GB, free: 29.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/4.637, allocations: 23.95 kB / 2.202 GB, free: 29.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008389/4.638, allocations: 244 kB / 2.202 GB, free: 29.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/4.638, allocations: 27.86 kB / 2.202 GB, free: 29.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/4.639, allocations: 115.8 kB / 2.202 GB, free: 28.94 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/4.639, allocations: 51.98 kB / 2.202 GB, free: 28.89 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0007873/4.64, allocations: 496.6 kB / 2.203 GB, free: 28.39 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/4.64, allocations: 169.8 kB / 2.203 GB, free: 28.23 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/4.642, allocations: 1.111 MB / 2.204 GB, free: 27.09 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/4.642, allocations: 12 kB / 2.204 GB, free: 27.08 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/4.642, allocations: 0 / 2.204 GB, free: 27.08 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001406/4.644, allocations: 0.9476 MB / 2.205 GB, free: 26.06 MB / 0.6667 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.00359/4.647, allocations: 2.265 MB / 2.207 GB, free: 23.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/4.647, allocations: 0 / 2.207 GB, free: 23.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/4.648, allocations: 131.8 kB / 2.207 GB, free: 23.61 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/4.648, allocations: 20.84 kB / 2.207 GB, free: 23.58 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/4.648, allocations: 19.98 kB / 2.207 GB, free: 23.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009222/4.649, allocations: 1.314 MB / 2.209 GB, free: 22.12 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/4.649, allocations: 0 / 2.209 GB, free: 22.12 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/4.652, allocations: 1.476 MB / 2.21 GB, free: 20.61 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006335/4.652, allocations: 342.5 kB / 2.21 GB, free: 20.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/4.653, allocations: 19.95 kB / 2.21 GB, free: 20.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/4.654, allocations: 99.89 kB / 2.21 GB, free: 20.13 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/4.654, allocations: 48.48 kB / 2.21 GB, free: 20.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/4.654, allocations: 31.98 kB / 2.211 GB, free: 20.05 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001496/4.655, allocations: 1.118 MB / 2.212 GB, free: 18.91 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.41e-07/4.655, allocations: 0 / 2.212 GB, free: 18.91 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003373/4.659, allocations: 1.021 MB / 2.213 GB, free: 17.89 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[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 (66): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.002728/4.661, allocations: 1.362 MB / 2.214 GB, free: 16.83 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002981/4.664, allocations: 1.549 MB / 2.215 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/4.664, allocations: 0 / 2.215 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/4.666, allocations: 0.4904 MB / 2.216 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/4.669, allocations: 0.7484 MB / 2.217 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/4.675, allocations: 3.687 MB / 2.22 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/4.676, allocations: 1.411 MB / 2.222 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001985/4.678, allocations: 442.1 kB / 2.222 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/4.678, allocations: 143.4 kB / 2.222 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of SimCode: time 9.42e-07/4.678, allocations: 0 / 2.222 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of Templates: time 0.4046/5.083, allocations: 36.65 MB / 2.258 GB, free: 82.36 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)