Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.006712/0.006712, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.3 MB / 148.1 MB, free: 272 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.2 MB / 403.2 MB, free: 6.734 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.0009173/0.0009173, allocations: 103.6 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003444, allocations: 8 kB / 0.5641 GB, free: 2.133 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3944, allocations: 81.58 MB / 0.6437 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.532, allocations: 414.8 MB / 1.049 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/1.533, allocations: 104.3 kB / 1.049 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.16/5.693, allocations: 1.187 GB / 2.236 GB, free: 95 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/5.693, allocations: 0 / 2.236 GB, free: 95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006192/5.694, allocations: 58.08 kB / 2.236 GB, free: 94.99 MB / 0.698 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.01025/5.704, allocations: 2.522 MB / 2.238 GB, free: 93.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/5.704, allocations: 8.812 kB / 2.238 GB, free: 93.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/5.707, allocations: 459.2 kB / 2.239 GB, free: 93.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009498/5.717, allocations: 2.289 MB / 2.241 GB, free: 93.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/5.717, allocations: 94.33 kB / 2.241 GB, free: 93.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006518/5.718, allocations: 119.3 kB / 2.241 GB, free: 93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/5.721, allocations: 1.289 MB / 2.243 GB, free: 92.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/5.721, allocations: 1.5 kB / 2.243 GB, free: 92.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/5.722, allocations: 53.12 kB / 2.243 GB, free: 92.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/5.722, allocations: 43.61 kB / 2.243 GB, free: 92.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/5.724, allocations: 0.9664 MB / 2.244 GB, free: 91.99 MB / 0.698 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.01141/5.736, allocations: 6.922 MB / 2.25 GB, free: 86.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/5.738, allocations: 1.265 MB / 2.252 GB, free: 85.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006602/5.744, allocations: 2.994 MB / 2.254 GB, free: 83.53 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009258/5.745, allocations: 411 kB / 2.255 GB, free: 83.38 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009549/5.746, allocations: 92.12 kB / 2.255 GB, free: 83.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 8.646e-06/5.746, allocations: 0 / 2.255 GB, free: 83.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002868/5.749, allocations: 1.135 MB / 2.256 GB, free: 82.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/5.749, allocations: 110.9 kB / 2.256 GB, free: 82.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/5.752, allocations: 1.344 MB / 2.257 GB, free: 82.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/5.752, allocations: 45.11 kB / 2.258 GB, free: 82.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008802/5.753, allocations: 0.8767 MB / 2.258 GB, free: 81.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/5.753, allocations: 221 kB / 2.259 GB, free: 81.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/5.753, allocations: 19.81 kB / 2.259 GB, free: 81.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001078/5.754, allocations: 348.2 kB / 2.259 GB, free: 80.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000719/5.754, allocations: 316.9 kB / 2.259 GB, free: 80.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008933/5.755, allocations: 0.7226 MB / 2.26 GB, free: 80.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008734/5.756, allocations: 447.2 kB / 2.26 GB, free: 80.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/5.756, allocations: 3.5 kB / 2.26 GB, free: 80.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002422/5.759, allocations: 1.186 MB / 2.262 GB, free: 79.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00115/5.76, allocations: 4.447 MB / 2.266 GB, free: 74.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/5.76, allocations: 11.75 kB / 2.266 GB, free: 74.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-05/5.76, allocations: 23.7 kB / 2.266 GB, free: 74.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/5.761, allocations: 245 kB / 2.266 GB, free: 74.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.69e-05/5.761, allocations: 20.09 kB / 2.266 GB, free: 74.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/5.763, allocations: 118.1 kB / 2.266 GB, free: 74.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/5.763, allocations: 64 kB / 2.266 GB, free: 74.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/5.763, allocations: 3.781 kB / 2.266 GB, free: 74.61 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002487/5.766, allocations: 1.016 MB / 2.267 GB, free: 74.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/5.766, allocations: 18.56 kB / 2.267 GB, free: 74.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/5.766, allocations: 17.41 kB / 2.267 GB, free: 74.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009269/5.767, allocations: 239.6 kB / 2.268 GB, free: 74.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.91e-05/5.767, allocations: 25.58 kB / 2.268 GB, free: 74.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/5.769, allocations: 119.5 kB / 2.268 GB, free: 74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/5.769, allocations: 55.05 kB / 2.268 GB, free: 73.98 MB / 0.698 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 (121): * Single equations (assignments): 119 * 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.001655/5.77, allocations: 482 kB / 2.268 GB, free: 73.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007362/5.771, allocations: 166.4 kB / 2.268 GB, free: 73.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/5.774, allocations: 1.074 MB / 2.269 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/5.774, allocations: 7.062 kB / 2.269 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/5.774, allocations: 0 / 2.269 GB, free: 72.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/5.776, allocations: 0.9054 MB / 2.27 GB, free: 72.39 MB / 0.698 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.006841/5.783, allocations: 2.311 MB / 2.273 GB, free: 70.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/5.783, allocations: 2.188 kB / 2.273 GB, free: 70.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/5.784, allocations: 141.5 kB / 2.273 GB, free: 70.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/5.784, allocations: 31.05 kB / 2.273 GB, free: 70.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/5.784, allocations: 25.55 kB / 2.273 GB, free: 70.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009524/5.785, allocations: 1.311 MB / 2.274 GB, free: 69.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/5.785, allocations: 3.875 kB / 2.274 GB, free: 69.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/5.788, allocations: 1.488 MB / 2.276 GB, free: 68.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/5.789, allocations: 346.2 kB / 2.276 GB, free: 68.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005748/5.79, allocations: 18.47 kB / 2.276 GB, free: 68.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/5.791, allocations: 104.5 kB / 2.276 GB, free: 68.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/5.791, allocations: 55.91 kB / 2.276 GB, free: 68.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.531e-05/5.791, allocations: 33.33 kB / 2.276 GB, free: 68.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00222/5.793, allocations: 1.089 MB / 2.277 GB, free: 67.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/5.793, allocations: 3.938 kB / 2.277 GB, free: 67.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004627/5.798, allocations: 0.9753 MB / 2.278 GB, free: 67.34 MB / 0.698 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 (72): * Single equations (assignments): 63 * 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.003247/5.801, allocations: 1.298 MB / 2.279 GB, free: 66.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003201/5.804, allocations: 1.466 MB / 2.281 GB, free: 66.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/5.805, allocations: 3.938 kB / 2.281 GB, free: 66.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/5.806, allocations: 0.5127 MB / 2.281 GB, free: 65.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003844/5.809, allocations: 0.7127 MB / 2.282 GB, free: 65.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/5.816, allocations: 3.646 MB / 2.286 GB, free: 61.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/5.818, allocations: 1.392 MB / 2.287 GB, free: 60.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002401/5.82, allocations: 437 kB / 2.287 GB, free: 59.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004962/5.821, allocations: 139.4 kB / 2.287 GB, free: 59.74 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/5.821, allocations: 3.938 kB / 2.287 GB, free: 59.74 MB / 0.698 GB Notification: Performance of Templates: time 0.05688/5.878, allocations: 34.73 MB / 2.321 GB, free: 25.98 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)