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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008912/0.0008913, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005657/0.005657, allocations: 169 kB / 16.26 MB, free: 6.652 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9882/0.9882, allocations: 135.3 MB / 426.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003052, allocations: 9.781 kB / 0.5076 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 82.31 MB / 0.588 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.3669/0.5133, allocations: 51.85 MB / 0.6386 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01999/0.5334, allocations: 15.1 MB / 0.6533 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00393/0.5373, allocations: 77.5 kB / 0.6534 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003493/0.5409, allocations: 0.9487 MB / 0.6543 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006689/0.5476, allocations: 2.156 MB / 0.6565 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005504/0.5531, allocations: 2.017 MB / 0.6584 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007472/0.5606, allocations: 5.999 MB / 0.6643 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/0.5637, allocations: 1.356 MB / 0.6656 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.5682, allocations: 1.611 MB / 0.6672 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.5715, allocations: 1.297 MB / 0.6684 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006735/0.5722, allocations: 65.88 kB / 0.6685 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005966/0.5782, allocations: 1.707 MB / 0.6702 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001759/0.58, allocations: 426.5 kB / 0.6706 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003837/0.5838, allocations: 0.9362 MB / 0.6715 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008871/0.5927, allocations: 3.161 MB / 0.6746 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5927, allocations: 0 / 0.6746 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5928, allocations: 5.25 kB / 0.6746 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001329/0.5929, allocations: 0 / 0.6746 GB, free: 2.918 MB / 0.4981 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.00597/0.5989, allocations: 2.169 MB / 0.6767 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.5989, allocations: 9.656 kB / 0.6767 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.6016, allocations: 488.5 kB / 0.6772 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004119/0.6057, allocations: 1.654 MB / 0.6788 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/0.6061, allocations: 155.5 kB / 0.6789 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.6065, allocations: 124.4 kB / 0.6791 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.6099, allocations: 1.366 MB / 0.6804 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/0.6099, allocations: 8.844 kB / 0.6804 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.6101, allocations: 48.47 kB / 0.6805 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.078e-05/0.6102, allocations: 40.19 kB / 0.6805 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/0.6135, allocations: 1.141 MB / 0.6816 GB, free: 15.28 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.01174/0.6253, allocations: 6.987 MB / 0.6884 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.6281, allocations: 1.426 MB / 0.6898 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.6293, allocations: 446.7 kB / 0.6902 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006127/0.6354, allocations: 3.143 MB / 0.6933 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.6366, allocations: 463.6 kB / 0.6938 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008111/0.6374, allocations: 81.08 kB / 0.6938 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 5.35e-06/0.6374, allocations: 0 / 0.6938 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003619/0.6411, allocations: 1.274 MB / 0.6951 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.6411, allocations: 67.75 kB / 0.6951 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/0.6442, allocations: 1.511 MB / 0.6966 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.997e-05/0.6443, allocations: 47.58 kB / 0.6967 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008559/0.6452, allocations: 0.8822 MB / 0.6975 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.6455, allocations: 216.7 kB / 0.6977 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/0.6456, allocations: 85.83 kB / 0.6978 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6457, allocations: 342.8 kB / 0.6981 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.6468, allocations: 399.8 kB / 0.6985 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.6482, allocations: 0.7803 MB / 0.6993 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.6506, allocations: 1.157 MB / 0.7004 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.6506, allocations: 7.469 kB / 0.7004 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003269/0.6539, allocations: 1.335 MB / 0.7017 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.6542, allocations: 448.2 kB / 0.7022 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/0.6542, allocations: 10.28 kB / 0.7022 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.841e-05/0.6543, allocations: 16.56 kB / 0.7022 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.6554, allocations: 265.7 kB / 0.7024 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.465e-05/0.6554, allocations: 24.92 kB / 0.7025 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.657, allocations: 124.4 kB / 0.7026 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.6572, allocations: 52.89 kB / 0.7026 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.6572, allocations: 3.188 kB / 0.7026 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002735/0.6599, allocations: 1.152 MB / 0.7038 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.66, allocations: 14.67 kB / 0.7038 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.66, allocations: 19.59 kB / 0.7038 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.661, allocations: 266.2 kB / 0.704 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.552e-05/0.6611, allocations: 20.75 kB / 0.7041 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.6625, allocations: 125.9 kB / 0.7042 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.6626, allocations: 52.33 kB / 0.7042 GB, free: 15.84 MB / 0.5294 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 (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 (121): * Single equations (assignments): 119 * 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.0009261/0.6635, allocations: 478.6 kB / 0.7047 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003869/0.6639, allocations: 170.1 kB / 0.7048 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/0.667, allocations: 1.153 MB / 0.706 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.6671, allocations: 10.86 kB / 0.706 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.6671, allocations: 1.375 kB / 0.706 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002199/0.6693, allocations: 0.9961 MB / 0.707 GB, free: 14.16 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 postOpt removeSimpleEquations (simulation): time 0.005503/0.6748, allocations: 2.448 MB / 0.7093 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6749, allocations: 0 / 0.7093 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007426/0.6756, allocations: 154.5 kB / 0.7095 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001917/0.6758, allocations: 33.91 kB / 0.7095 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.6759, allocations: 17.98 kB / 0.7095 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.677, allocations: 1.327 MB / 0.7108 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.677, allocations: 3.938 kB / 0.7108 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.6805, allocations: 1.602 MB / 0.7124 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009046/0.6814, allocations: 342.4 kB / 0.7127 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005048/0.682, allocations: 22.61 kB / 0.7128 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.6833, allocations: 107.1 kB / 0.7129 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.6834, allocations: 62.2 kB / 0.7129 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/0.6835, allocations: 34.97 kB / 0.713 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002035/0.6856, allocations: 1.079 MB / 0.714 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6856, allocations: 0 / 0.714 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003661/0.6893, allocations: 0.8692 MB / 0.7149 GB, free: 8.215 MB / 0.5294 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 (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002231/0.6915, allocations: 0.7153 MB / 0.7156 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00392/0.6954, allocations: 1.644 MB / 0.7172 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.6955, allocations: 4 kB / 0.7172 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.6968, allocations: 0.5588 MB / 0.7177 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/0.7013, allocations: 0.7177 MB / 0.7184 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/0.708, allocations: 3.8 MB / 0.7221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.7092, allocations: 1.36 MB / 0.7234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002021/0.7112, allocations: 422 kB / 0.7239 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/0.7117, allocations: 135.4 kB / 0.724 GB, free: 14.93 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.7117, allocations: 0 / 0.724 GB, free: 14.93 MB / 0.545 GB Notification: Performance of Templates: time 0.0522/0.7639, allocations: 29.88 MB / 0.7532 GB, free: 1.418 MB / 0.5606 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)