Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.009808/0.009808, allocations: 169.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8022/0.8022, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.394/1.394, allocations: 223.2 MB / 406.9 MB, free: 3.211 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.0009491/0.0009487, allocations: 94.83 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.000381, allocations: 15.98 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3618, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.453, allocations: 415 MB / 1.055 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.453, allocations: 100.9 kB / 1.055 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.788/5.241, allocations: 1.187 GB / 2.242 GB, free: 91.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.514e-06/5.241, allocations: 0 / 2.242 GB, free: 91.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002789/5.241, allocations: 55.45 kB / 2.242 GB, free: 91.33 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.007866/5.249, allocations: 2.522 MB / 2.244 GB, free: 89.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/5.249, allocations: 14.75 kB / 2.244 GB, free: 89.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/5.252, allocations: 455.7 kB / 2.245 GB, free: 89.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006818/5.259, allocations: 2.282 MB / 2.247 GB, free: 88.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/5.259, allocations: 94.09 kB / 2.247 GB, free: 88.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/5.259, allocations: 124.5 kB / 2.247 GB, free: 88.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/5.261, allocations: 1.282 MB / 2.248 GB, free: 88.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/5.261, allocations: 3.281 kB / 2.248 GB, free: 88.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/5.262, allocations: 50.28 kB / 2.249 GB, free: 88.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/5.262, allocations: 44.09 kB / 2.249 GB, free: 88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/5.264, allocations: 0.9655 MB / 2.249 GB, free: 87.67 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.009396/5.273, allocations: 6.922 MB / 2.256 GB, free: 82.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/5.275, allocations: 1.274 MB / 2.257 GB, free: 81.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00523/5.28, allocations: 2.989 MB / 2.26 GB, free: 79.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008143/5.281, allocations: 413.7 kB / 2.261 GB, free: 79.04 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009084/5.282, allocations: 85.5 kB / 2.261 GB, free: 78.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 5.61e-06/5.282, allocations: 2.625 kB / 2.261 GB, free: 78.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002777/5.285, allocations: 1.129 MB / 2.262 GB, free: 78.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/5.285, allocations: 122.6 kB / 2.262 GB, free: 78.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/5.287, allocations: 1.338 MB / 2.263 GB, free: 77.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.033e-05/5.287, allocations: 41.39 kB / 2.263 GB, free: 77.83 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008079/5.288, allocations: 0.8796 MB / 2.264 GB, free: 77.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/5.288, allocations: 234.3 kB / 2.265 GB, free: 76.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/5.288, allocations: 21.28 kB / 2.265 GB, free: 76.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/5.288, allocations: 340.2 kB / 2.265 GB, free: 76.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/5.289, allocations: 318.8 kB / 2.265 GB, free: 76.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009812/5.29, allocations: 0.7285 MB / 2.266 GB, free: 75.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/5.291, allocations: 444.3 kB / 2.266 GB, free: 75.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/5.291, allocations: 3.406 kB / 2.266 GB, free: 75.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002368/5.293, allocations: 1.187 MB / 2.267 GB, free: 74.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001441/5.295, allocations: 4.451 MB / 2.272 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/5.295, allocations: 10.09 kB / 2.272 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.222e-05/5.295, allocations: 17.5 kB / 2.272 GB, free: 70.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/5.296, allocations: 243.9 kB / 2.272 GB, free: 70.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/5.296, allocations: 24.05 kB / 2.272 GB, free: 70.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/5.297, allocations: 117.8 kB / 2.272 GB, free: 70.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/5.297, allocations: 56.92 kB / 2.272 GB, free: 70.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/5.297, allocations: 9.797 kB / 2.272 GB, free: 70.08 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001934/5.299, allocations: 1.016 MB / 2.273 GB, free: 69.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/5.299, allocations: 11.16 kB / 2.273 GB, free: 69.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/5.299, allocations: 19.38 kB / 2.273 GB, free: 69.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000853/5.3, allocations: 244 kB / 2.274 GB, free: 69.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/5.3, allocations: 23.23 kB / 2.274 GB, free: 69.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/5.302, allocations: 112 kB / 2.274 GB, free: 69.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/5.302, allocations: 57.89 kB / 2.274 GB, free: 69.46 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.001214/5.303, allocations: 484.2 kB / 2.274 GB, free: 69.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/5.303, allocations: 170.4 kB / 2.274 GB, free: 69.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/5.306, allocations: 1.074 MB / 2.275 GB, free: 68.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/5.306, allocations: 7.625 kB / 2.275 GB, free: 68.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/5.306, allocations: 0 / 2.275 GB, free: 68.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/5.307, allocations: 0.9049 MB / 2.276 GB, free: 67.86 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.004507/5.312, allocations: 2.312 MB / 2.279 GB, free: 66.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/5.312, allocations: 0 / 2.279 GB, free: 66.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/5.312, allocations: 135.1 kB / 2.279 GB, free: 66.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/5.313, allocations: 40.31 kB / 2.279 GB, free: 66.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.977e-05/5.313, allocations: 27.58 kB / 2.279 GB, free: 66.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000898/5.314, allocations: 1.314 MB / 2.28 GB, free: 64.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/5.314, allocations: 3.438 kB / 2.28 GB, free: 64.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/5.316, allocations: 1.488 MB / 2.281 GB, free: 64.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009382/5.317, allocations: 350.1 kB / 2.282 GB, free: 63.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/5.318, allocations: 11.91 kB / 2.282 GB, free: 63.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/5.319, allocations: 104.9 kB / 2.282 GB, free: 63.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/5.319, allocations: 53.64 kB / 2.282 GB, free: 63.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/5.319, allocations: 33.56 kB / 2.282 GB, free: 63.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001661/5.32, allocations: 1.085 MB / 2.283 GB, free: 63.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/5.32, allocations: 4 kB / 2.283 GB, free: 63.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003831/5.324, allocations: 0.9846 MB / 2.284 GB, free: 62.82 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.002734/5.327, allocations: 1.292 MB / 2.285 GB, free: 62.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002926/5.33, allocations: 1.464 MB / 2.287 GB, free: 60.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/5.33, allocations: 1.438 kB / 2.287 GB, free: 60.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009405/5.331, allocations: 0.5162 MB / 2.287 GB, free: 60.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/5.335, allocations: 0.7216 MB / 2.288 GB, free: 59.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/5.34, allocations: 3.645 MB / 2.291 GB, free: 55.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001738/5.342, allocations: 1.396 MB / 2.293 GB, free: 70.24 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002172/5.344, allocations: 433.5 kB / 2.293 GB, free: 69.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/5.345, allocations: 143.4 kB / 2.293 GB, free: 69.71 MB / 0.7136 GB Notification: Performance of SimCode: time 1.183e-06/5.345, allocations: 0 / 2.293 GB, free: 69.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.05596/5.401, allocations: 34.73 MB / 2.327 GB, free: 35.92 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)