Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001052/0.001052, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 192.4 kB / 16.25 MB, free: 6.629 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7535/0.7535, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001253, allocations: 64.3 kB / 0.5013 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3937, allocations: 80.21 MB / 0.5796 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06997/0.4637, allocations: 66.39 MB / 0.6444 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02672/0.4904, allocations: 16.63 MB / 0.6607 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005169/0.4957, allocations: 87.5 kB / 0.6608 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.4999, allocations: 1.034 MB / 0.6618 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008301/0.5082, allocations: 2.465 MB / 0.6642 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006398/0.5147, allocations: 2.142 MB / 0.6663 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00755/0.5222, allocations: 5.393 MB / 0.6715 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/0.5256, allocations: 1.895 MB / 0.6734 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006091/0.5318, allocations: 2.129 MB / 0.6755 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/0.5346, allocations: 1.548 MB / 0.677 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007423/0.5353, allocations: 192 kB / 0.6772 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004592/0.5399, allocations: 1.985 MB / 0.6791 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.541, allocations: 0.5567 MB / 0.6796 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002465/0.5435, allocations: 1.139 MB / 0.6807 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007066/0.5506, allocations: 3.622 MB / 0.6843 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.5506, allocations: 0 / 0.6843 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5506, allocations: 0 / 0.6843 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.877e-05/0.5507, allocations: 0 / 0.6843 GB, free: 6.375 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.004754/0.5555, allocations: 2.675 MB / 0.6869 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5555, allocations: 8.031 kB / 0.6869 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.557, allocations: 373.9 kB / 0.6873 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.5602, allocations: 1.811 MB / 0.689 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.5606, allocations: 154.4 kB / 0.6892 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001999/0.5608, allocations: 132 kB / 0.6893 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.5634, allocations: 1.435 MB / 0.6907 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.5634, allocations: 0 / 0.6907 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.5636, allocations: 52 kB / 0.6908 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/0.5636, allocations: 50.31 kB / 0.6908 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.5659, allocations: 1.114 MB / 0.6919 GB, free: 14.36 MB / 0.5294 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.00963/0.5756, allocations: 7.349 MB / 0.6991 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.5777, allocations: 1.307 MB / 0.7003 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009295/0.5786, allocations: 462.5 kB / 0.7008 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004649/0.5833, allocations: 2.635 MB / 0.7034 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/0.5844, allocations: 498.5 kB / 0.7038 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005633/0.5849, allocations: 75.3 kB / 0.7039 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 3.968e-06/0.5849, allocations: 4 kB / 0.7039 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.002904/0.5879, allocations: 1.233 MB / 0.7051 GB, free: 15.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.5879, allocations: 111.4 kB / 0.7052 GB, free: 15.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.59, allocations: 1.453 MB / 0.7066 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.772e-05/0.5901, allocations: 41.7 kB / 0.7067 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007735/0.5909, allocations: 0.9072 MB / 0.7076 GB, free: 13.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.5912, allocations: 220.8 kB / 0.7078 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.5915, allocations: 210.4 kB / 0.708 GB, free: 12.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5916, allocations: 349.9 kB / 0.7083 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008919/0.5925, allocations: 384.6 kB / 0.7087 GB, free: 12.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.5937, allocations: 0.7312 MB / 0.7094 GB, free: 11.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.5956, allocations: 1.101 MB / 0.7105 GB, free: 10.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.5956, allocations: 4 kB / 0.7105 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00279/0.5984, allocations: 1.286 MB / 0.7117 GB, free: 8.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.5985, allocations: 33.7 kB / 0.7118 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.5985, allocations: 12 kB / 0.7118 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.297e-05/0.5986, allocations: 16 kB / 0.7118 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009863/0.5996, allocations: 256 kB / 0.712 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/0.5996, allocations: 15.94 kB / 0.712 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.601, allocations: 128.4 kB / 0.7122 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.6011, allocations: 55.98 kB / 0.7122 GB, free: 8.203 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001485/0.6026, allocations: 0.6892 MB / 0.7129 GB, free: 7.512 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001121/0.6037, allocations: 0.7194 MB / 0.7136 GB, free: 6.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001949/0.6057, allocations: 1.07 MB / 0.7146 GB, free: 5.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.766e-06/0.6057, allocations: 0 / 0.7146 GB, free: 5.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=124) (initialization_lambda0): time 0.002772/0.6085, allocations: 1.262 MB / 0.7159 GB, free: 4.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.6086, allocations: 37.7 kB / 0.7159 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.6086, allocations: 8.594 kB / 0.7159 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.6086, allocations: 20 kB / 0.7159 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/0.6096, allocations: 251.6 kB / 0.7162 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-05/0.6097, allocations: 15.94 kB / 0.7162 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6112, allocations: 124.5 kB / 0.7163 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.6113, allocations: 51.98 kB / 0.7164 GB, free: 3.645 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (122): * Single equations (assignments): 120 * 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.0003705/0.6117, allocations: 251.9 kB / 0.7166 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/0.6121, allocations: 169.8 kB / 0.7168 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.6148, allocations: 1.082 MB / 0.7178 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.6148, allocations: 16 kB / 0.7178 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.6149, allocations: 3.938 kB / 0.7178 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001771/0.6166, allocations: 0.8003 MB / 0.7186 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005343/0.622, allocations: 2.677 MB / 0.7212 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.622, allocations: 4 kB / 0.7212 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/0.6228, allocations: 155.8 kB / 0.7214 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.623, allocations: 36.94 kB / 0.7214 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/0.6231, allocations: 19.98 kB / 0.7214 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.6242, allocations: 1.433 MB / 0.7228 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6242, allocations: 3.938 kB / 0.7228 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.6277, allocations: 1.606 MB / 0.7244 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008447/0.6286, allocations: 342.6 kB / 0.7247 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005196/0.6291, allocations: 23.98 kB / 0.7248 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.6305, allocations: 111.8 kB / 0.7249 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6306, allocations: 60.58 kB / 0.7249 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.94e-05/0.6307, allocations: 35.97 kB / 0.725 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001959/0.6327, allocations: 1.05 MB / 0.726 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6327, allocations: 0 / 0.726 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003327/0.6361, allocations: 0.9509 MB / 0.7269 GB, free: 8.473 MB / 0.5606 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 (77): * Single equations (assignments): 69 * 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.001471/0.6375, allocations: 0.5122 MB / 0.7274 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003978/0.6415, allocations: 1.684 MB / 0.7291 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6415, allocations: 448 / 0.7291 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/0.6428, allocations: 0.5611 MB / 0.7296 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004315/0.6471, allocations: 0.896 MB / 0.7305 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.6535, allocations: 3.865 MB / 0.7343 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.6549, allocations: 1.405 MB / 0.7356 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00212/0.657, allocations: 422.4 kB / 0.736 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.6575, allocations: 143.3 kB / 0.7362 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of SimCode: time 9.62e-07/0.6575, allocations: 0 / 0.7362 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.05773/0.7152, allocations: 33.99 MB / 0.7694 GB, free: 13.41 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)