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.001259/0.001259, 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.001316/0.001316, allocations: 193.3 kB / 16.25 MB, free: 6.645 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.925/0.925, allocations: 135.6 MB / 425.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.38 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1535, allocations: 81.02 MB / 0.5845 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.2763/0.4298, allocations: 52.8 MB / 0.6361 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.4456, allocations: 15.08 MB / 0.6508 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.4483, allocations: 82.03 kB / 0.6509 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.451, allocations: 0.9841 MB / 0.6518 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005281/0.4563, allocations: 2.167 MB / 0.6539 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.4609, allocations: 2.067 MB / 0.656 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006032/0.467, allocations: 4.66 MB / 0.6605 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002433/0.4694, allocations: 1.619 MB / 0.6621 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/0.4739, allocations: 1.94 MB / 0.664 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.4761, allocations: 1.402 MB / 0.6654 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003862/0.4765, allocations: 166.7 kB / 0.6655 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.4803, allocations: 1.854 MB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000591/0.4809, allocations: 0.5265 MB / 0.6678 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.4822, allocations: 1.03 MB / 0.6688 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004691/0.4869, allocations: 3.311 MB / 0.6721 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4869, allocations: 0 / 0.6721 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4869, allocations: 0 / 0.6721 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.503e-05/0.4869, allocations: 0 / 0.6721 GB, free: 1.551 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.004185/0.4911, allocations: 2.526 MB / 0.6745 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.4912, allocations: 10.44 kB / 0.6746 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.4932, allocations: 447.3 kB / 0.675 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.4965, allocations: 1.661 MB / 0.6766 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.4968, allocations: 145.5 kB / 0.6767 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.497, allocations: 121.9 kB / 0.6769 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.4998, allocations: 1.349 MB / 0.6782 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.4998, allocations: 2.312 kB / 0.6782 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.4999, allocations: 47.22 kB / 0.6782 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.5, allocations: 45.61 kB / 0.6783 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/0.5027, allocations: 1.097 MB / 0.6793 GB, free: 13.7 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.01085/0.5135, allocations: 6.956 MB / 0.6861 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.5162, allocations: 1.379 MB / 0.6875 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.5172, allocations: 429 kB / 0.6879 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006375/0.5236, allocations: 3.091 MB / 0.6909 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.5248, allocations: 451.8 kB / 0.6913 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000771/0.5255, allocations: 65.23 kB / 0.6914 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.178e-06/0.5256, allocations: 4 kB / 0.6914 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.00331/0.5289, allocations: 1.229 MB / 0.6926 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.5289, allocations: 59.12 kB / 0.6927 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.5312, allocations: 1.528 MB / 0.6941 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.5314, allocations: 42.77 kB / 0.6942 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008532/0.5322, allocations: 0.884 MB / 0.6951 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.5325, allocations: 216.6 kB / 0.6953 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.5328, allocations: 213.4 kB / 0.6955 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.533, allocations: 341.2 kB / 0.6958 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009591/0.534, allocations: 384.3 kB / 0.6962 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.5353, allocations: 0.757 MB / 0.6969 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/0.5375, allocations: 1.135 MB / 0.698 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.5375, allocations: 7.281 kB / 0.698 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003018/0.5406, allocations: 1.307 MB / 0.6993 GB, free: 204 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.5406, allocations: 38.17 kB / 0.6993 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.5407, allocations: 11.19 kB / 0.6993 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/0.5407, allocations: 17.16 kB / 0.6993 GB, free: 172 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/0.5417, allocations: 260.8 kB / 0.6996 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.5417, allocations: 21.3 kB / 0.6996 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.5432, allocations: 120.9 kB / 0.6997 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5434, allocations: 54.86 kB / 0.6998 GB, free: 100 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001618/0.545, allocations: 0.6766 MB / 0.7004 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001262/0.5463, allocations: 0.7422 MB / 0.7012 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002199/0.5485, allocations: 1.102 MB / 0.7022 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.117e-06/0.5485, allocations: 6.5 kB / 0.7023 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003073/0.5516, allocations: 1.272 MB / 0.7035 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.5516, allocations: 40.42 kB / 0.7035 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5517, allocations: 10.75 kB / 0.7035 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5517, allocations: 16.03 kB / 0.7036 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009803/0.5527, allocations: 258.7 kB / 0.7038 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.5527, allocations: 27.2 kB / 0.7038 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.5542, allocations: 116.8 kB / 0.7039 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.5543, allocations: 52.3 kB / 0.704 GB, free: 13.46 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.0003889/0.5547, allocations: 251.2 kB / 0.7042 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.555, allocations: 166.6 kB / 0.7044 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.5579, allocations: 1.134 MB / 0.7055 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.558, allocations: 6.875 kB / 0.7055 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.558, allocations: 2.875 kB / 0.7055 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002112/0.5601, allocations: 0.9735 MB / 0.7065 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005588/0.5657, allocations: 2.412 MB / 0.7088 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.5657, allocations: 0 / 0.7088 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007494/0.5665, allocations: 157.3 kB / 0.709 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001736/0.5667, allocations: 27.62 kB / 0.709 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.819e-05/0.5667, allocations: 20.36 kB / 0.709 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.5681, allocations: 1.417 MB / 0.7104 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5681, allocations: 0 / 0.7104 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003488/0.5716, allocations: 1.575 MB / 0.7119 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009662/0.5726, allocations: 326.2 kB / 0.7122 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000532/0.5732, allocations: 21.16 kB / 0.7123 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.5746, allocations: 118.9 kB / 0.7124 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.5747, allocations: 55.77 kB / 0.7124 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.573e-05/0.5748, allocations: 27.97 kB / 0.7125 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002257/0.5771, allocations: 1.081 MB / 0.7135 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5771, allocations: 0 / 0.7135 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004159/0.5813, allocations: 0.8693 MB / 0.7144 GB, free: 5.504 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 (72): * Single equations (assignments): 63 * 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.002798/0.5841, allocations: 0.7077 MB / 0.7151 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004665/0.5888, allocations: 1.668 MB / 0.7167 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.5888, allocations: 4.062 kB / 0.7167 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.5902, allocations: 0.5513 MB / 0.7172 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004249/0.5944, allocations: 0.7702 MB / 0.718 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/0.6014, allocations: 3.727 MB / 0.7216 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.6028, allocations: 1.364 MB / 0.7229 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002119/0.6049, allocations: 414 kB / 0.7233 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.6054, allocations: 139.3 kB / 0.7235 GB, free: 12.24 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/0.6054, allocations: 0 / 0.7235 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Templates: time 0.05718/0.6626, allocations: 31.06 MB / 0.7538 GB, free: 13.59 MB / 0.5762 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)