Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 192.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9137/0.9137, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 64.36 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1759, allocations: 80.93 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.3179/0.4938, allocations: 66.97 MB / 0.6498 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01955/0.5134, allocations: 16.74 MB / 0.6661 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.5163, allocations: 93.25 kB / 0.6662 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.519, allocations: 1.167 MB / 0.6673 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006482/0.5255, allocations: 2.659 MB / 0.6699 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005844/0.5314, allocations: 2.329 MB / 0.6722 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008477/0.5398, allocations: 5.346 MB / 0.6774 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003498/0.5434, allocations: 1.905 MB / 0.6793 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005115/0.5485, allocations: 2.088 MB / 0.6813 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.5514, allocations: 1.48 MB / 0.6828 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006423/0.5521, allocations: 190.4 kB / 0.683 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005051/0.5572, allocations: 1.966 MB / 0.6849 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.5582, allocations: 0.5599 MB / 0.6854 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002647/0.5609, allocations: 1.137 MB / 0.6865 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007018/0.5679, allocations: 3.597 MB / 0.69 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5679, allocations: 0.5625 kB / 0.69 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.568, allocations: 0 / 0.69 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.414e-05/0.5681, allocations: 0 / 0.69 GB, free: 5.297 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.005512/0.5736, allocations: 2.677 MB / 0.6927 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.5736, allocations: 13 kB / 0.6927 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.5752, allocations: 368.6 kB / 0.693 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.5783, allocations: 1.741 MB / 0.6947 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003879/0.5787, allocations: 151.5 kB / 0.6949 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.5789, allocations: 133 kB / 0.695 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.5815, allocations: 1.433 MB / 0.6964 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.5816, allocations: 7.297 kB / 0.6964 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.5817, allocations: 48.84 kB / 0.6964 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.5818, allocations: 48.98 kB / 0.6965 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.5842, allocations: 1.106 MB / 0.6976 GB, free: 1.238 MB / 0.5137 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.009162/0.5934, allocations: 7.422 MB / 0.7048 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.5956, allocations: 1.312 MB / 0.7061 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000999/0.5966, allocations: 458.6 kB / 0.7065 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004593/0.6012, allocations: 2.622 MB / 0.7091 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.6023, allocations: 490.2 kB / 0.7096 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 2.414e-06/0.6024, allocations: 1.125 kB / 0.7096 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=63): time 0.003342/0.6057, allocations: 1.217 MB / 0.7108 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.6058, allocations: 118.3 kB / 0.7109 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.6077, allocations: 1.478 MB / 0.7123 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.672e-05/0.6078, allocations: 44.11 kB / 0.7124 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00075/0.6085, allocations: 0.8992 MB / 0.7132 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.6088, allocations: 225.9 kB / 0.7134 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.6091, allocations: 201.7 kB / 0.7136 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6092, allocations: 343.4 kB / 0.714 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009377/0.6102, allocations: 390.2 kB / 0.7143 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.6113, allocations: 0.7289 MB / 0.7151 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/0.6133, allocations: 1.1 MB / 0.7161 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.6133, allocations: 12.75 kB / 0.7161 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002833/0.6162, allocations: 1.271 MB / 0.7174 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.6162, allocations: 43.36 kB / 0.7174 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6162, allocations: 9.531 kB / 0.7174 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.6163, allocations: 16.38 kB / 0.7174 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/0.6172, allocations: 248.1 kB / 0.7177 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.6172, allocations: 26.42 kB / 0.7177 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.6184, allocations: 139.3 kB / 0.7178 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/0.6185, allocations: 47.23 kB / 0.7179 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001454/0.62, allocations: 0.6822 MB / 0.7186 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001096/0.6211, allocations: 0.7162 MB / 0.7193 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001906/0.623, allocations: 1.065 MB / 0.7203 GB, free: 15.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/0.623, allocations: 3.594 kB / 0.7203 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002576/0.6256, allocations: 1.249 MB / 0.7215 GB, free: 14.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.6256, allocations: 37.69 kB / 0.7216 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6256, allocations: 12 kB / 0.7216 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6257, allocations: 16 kB / 0.7216 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009237/0.6266, allocations: 248.2 kB / 0.7218 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.6266, allocations: 19.92 kB / 0.7218 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.6278, allocations: 119.9 kB / 0.7219 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/0.6279, allocations: 47.98 kB / 0.722 GB, free: 14.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003123/0.6282, allocations: 255.2 kB / 0.7222 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.6285, allocations: 165.9 kB / 0.7224 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.631, allocations: 1.076 MB / 0.7234 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.6311, allocations: 8 kB / 0.7235 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6311, allocations: 0 / 0.7235 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001811/0.6329, allocations: 0.7886 MB / 0.7242 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004703/0.6376, allocations: 2.696 MB / 0.7269 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.6376, allocations: 4 kB / 0.7269 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007408/0.6384, allocations: 156 kB / 0.727 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/0.6385, allocations: 28.84 kB / 0.727 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.374e-05/0.6386, allocations: 23.98 kB / 0.7271 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.6398, allocations: 1.427 MB / 0.7285 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6398, allocations: 0 / 0.7285 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/0.6432, allocations: 1.581 MB / 0.73 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005867/0.6438, allocations: 358.5 kB / 0.7303 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.644, allocations: 15.98 kB / 0.7304 GB, free: 5.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008692/0.6449, allocations: 59.95 kB / 0.7304 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.645, allocations: 60.42 kB / 0.7305 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.071e-05/0.6451, allocations: 32.84 kB / 0.7305 GB, free: 5.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001494/0.6466, allocations: 1.078 MB / 0.7316 GB, free: 4.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6466, allocations: 0 / 0.7316 GB, free: 4.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002477/0.649, allocations: 0.9431 MB / 0.7325 GB, free: 3.262 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001133/0.6502, allocations: 0.5285 MB / 0.733 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003743/0.6539, allocations: 1.647 MB / 0.7346 GB, free: 1.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.654, allocations: 0 / 0.7346 GB, free: 1.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.6551, allocations: 0.5522 MB / 0.7351 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/0.6589, allocations: 0.9058 MB / 0.736 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.664, allocations: 3.173 MB / 0.7391 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.6651, allocations: 1.397 MB / 0.7405 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001813/0.667, allocations: 426.4 kB / 0.7409 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.6673, allocations: 143.4 kB / 0.741 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.6673, allocations: 0 / 0.741 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of Templates: time 0.05584/0.7232, allocations: 34.58 MB / 0.7748 GB, free: 8.289 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)