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.001721/0.001721, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7279/0.7279, allocations: 130.5 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 221.3 MB / 396.8 MB, free: 9.148 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000947/0.000947, allocations: 98.02 kB / 479 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.062e-05/4.063e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2024, allocations: 81.58 MB / 0.6347 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.284/1.486, allocations: 414.7 MB / 1.04 GB, free: 217 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/1.486, allocations: 99 kB / 1.04 GB, free: 216.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.108/5.594, allocations: 1.183 GB / 2.223 GB, free: 83.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/5.595, allocations: 0 / 2.223 GB, free: 83.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002435/5.595, allocations: 57.31 kB / 2.223 GB, free: 83.65 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.00448/5.599, allocations: 2.032 MB / 2.225 GB, free: 82.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/5.599, allocations: 12.91 kB / 2.225 GB, free: 82.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/5.602, allocations: 454 kB / 2.226 GB, free: 81.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006809/5.608, allocations: 2.266 MB / 2.228 GB, free: 80.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.214e-05/5.609, allocations: 90.17 kB / 2.228 GB, free: 80.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002588/5.609, allocations: 127.5 kB / 2.228 GB, free: 80.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/5.611, allocations: 1.212 MB / 2.229 GB, free: 79.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/5.611, allocations: 3.625 kB / 2.229 GB, free: 79.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/5.611, allocations: 54.09 kB / 2.229 GB, free: 79.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/5.611, allocations: 42.05 kB / 2.229 GB, free: 79.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/5.612, allocations: 0.8325 MB / 2.23 GB, free: 79.15 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008877/5.621, allocations: 6.928 MB / 2.237 GB, free: 71.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/5.622, allocations: 1.134 MB / 2.238 GB, free: 70.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/5.623, allocations: 333.6 kB / 2.238 GB, free: 70.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004693/5.628, allocations: 3.017 MB / 2.241 GB, free: 66.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/5.628, allocations: 365.9 kB / 2.242 GB, free: 66.51 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006214/5.629, allocations: 82.06 kB / 2.242 GB, free: 66.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.146e-06/5.629, allocations: 0 / 2.242 GB, free: 66.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.001139/5.63, allocations: 0.6775 MB / 2.242 GB, free: 65.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/5.63, allocations: 114.3 kB / 2.243 GB, free: 65.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/5.632, allocations: 1.32 MB / 2.244 GB, free: 64.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/5.632, allocations: 41.7 kB / 2.244 GB, free: 64.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/5.632, allocations: 0.8837 MB / 2.245 GB, free: 63.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/5.632, allocations: 220 kB / 2.245 GB, free: 63.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/5.633, allocations: 20 kB / 2.245 GB, free: 63.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/5.633, allocations: 341.9 kB / 2.245 GB, free: 62.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/5.633, allocations: 257.3 kB / 2.245 GB, free: 62.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/5.634, allocations: 0.6634 MB / 2.246 GB, free: 61.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/5.634, allocations: 390 kB / 2.247 GB, free: 61.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/5.634, allocations: 4 kB / 2.247 GB, free: 61.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001516/5.636, allocations: 1.073 MB / 2.248 GB, free: 60.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008965/5.637, allocations: 4.453 MB / 2.252 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/5.637, allocations: 12 kB / 2.252 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/5.637, allocations: 20 kB / 2.252 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009015/5.638, allocations: 239.6 kB / 2.252 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/5.638, allocations: 27.92 kB / 2.252 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/5.639, allocations: 130.7 kB / 2.252 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/5.639, allocations: 55.98 kB / 2.252 GB, free: 54.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/5.639, allocations: 4 kB / 2.252 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/5.64, allocations: 0.9024 MB / 2.253 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/5.64, allocations: 12 kB / 2.253 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/5.64, allocations: 16 kB / 2.253 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/5.641, allocations: 247.6 kB / 2.254 GB, free: 53.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/5.641, allocations: 23.92 kB / 2.254 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/5.642, allocations: 99.92 kB / 2.254 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/5.643, allocations: 55.97 kB / 2.254 GB, free: 53.61 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 () * 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.0002176/5.643, allocations: 177.6 kB / 2.254 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/5.643, allocations: 173.8 kB / 2.254 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/5.645, allocations: 0.9425 MB / 2.255 GB, free: 52.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/5.645, allocations: 11.98 kB / 2.255 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/5.645, allocations: 3.188 kB / 2.255 GB, free: 52.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008863/5.646, allocations: 0.79 MB / 2.256 GB, free: 51.45 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.003437/5.649, allocations: 2.204 MB / 2.258 GB, free: 49.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/5.649, allocations: 4 kB / 2.258 GB, free: 49.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/5.65, allocations: 131.8 kB / 2.258 GB, free: 49.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/5.65, allocations: 36.86 kB / 2.258 GB, free: 49.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/5.65, allocations: 19.98 kB / 2.258 GB, free: 49.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/5.651, allocations: 1.303 MB / 2.259 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/5.651, allocations: 4.031 kB / 2.259 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/5.653, allocations: 1.321 MB / 2.261 GB, free: 46.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/5.654, allocations: 346.7 kB / 2.261 GB, free: 45.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/5.654, allocations: 12 kB / 2.261 GB, free: 45.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009109/5.655, allocations: 107.7 kB / 2.261 GB, free: 45.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/5.655, allocations: 52.48 kB / 2.261 GB, free: 45.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/5.655, allocations: 31.94 kB / 2.261 GB, free: 45.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001482/5.657, allocations: 1.07 MB / 2.262 GB, free: 44.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.01e-07/5.657, allocations: 0 / 2.262 GB, free: 44.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003264/5.66, allocations: 0.9774 MB / 2.263 GB, free: 43.57 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) * 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.002398/5.663, allocations: 1.269 MB / 2.264 GB, free: 42.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001926/5.665, allocations: 1.356 MB / 2.266 GB, free: 41.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/5.665, allocations: 0 / 2.266 GB, free: 41.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/5.665, allocations: 462.6 kB / 2.266 GB, free: 40.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/5.669, allocations: 0.7136 MB / 2.267 GB, free: 40.04 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/5.673, allocations: 2.306 MB / 2.269 GB, free: 37.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007652/5.674, allocations: 1.406 MB / 2.27 GB, free: 36.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002447/5.677, allocations: 0.6048 MB / 2.271 GB, free: 35.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/5.677, allocations: 107.4 kB / 2.271 GB, free: 35.61 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/5.677, allocations: 0 / 2.271 GB, free: 35.61 MB / 0.698 GB Notification: Performance of Templates: time 0.5956/6.273, allocations: 39.2 MB / 2.309 GB, free: 91.9 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)