Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_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.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001558, 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.00174/0.00174, allocations: 193.4 kB / 16.25 MB, free: 6.637 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.356/1.356, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9203/0.9203, allocations: 135.6 MB / 425.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 60.44 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1537, allocations: 81.02 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.2805/0.4343, allocations: 52.8 MB / 0.6361 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.4507, allocations: 15.09 MB / 0.6508 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002791/0.4536, allocations: 80.66 kB / 0.6509 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003047/0.4567, allocations: 0.9769 MB / 0.6518 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005945/0.4626, allocations: 2.163 MB / 0.6539 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004913/0.4675, allocations: 2.072 MB / 0.656 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005554/0.4731, allocations: 4.661 MB / 0.6605 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.4757, allocations: 1.622 MB / 0.6621 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004462/0.4802, allocations: 1.927 MB / 0.664 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002525/0.4827, allocations: 1.411 MB / 0.6654 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005184/0.4832, allocations: 168.4 kB / 0.6655 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004097/0.4874, allocations: 1.845 MB / 0.6673 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008235/0.4882, allocations: 0.5263 MB / 0.6678 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.4899, allocations: 1.038 MB / 0.6688 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006532/0.4964, allocations: 3.306 MB / 0.6721 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4964, allocations: 0 / 0.6721 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4964, allocations: 1.188 kB / 0.6721 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.996e-05/0.4965, allocations: 0 / 0.6721 GB, free: 1.562 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.005612/0.5022, allocations: 2.526 MB / 0.6745 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5022, allocations: 10.38 kB / 0.6745 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.5045, allocations: 448.8 kB / 0.675 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/0.5083, allocations: 1.658 MB / 0.6766 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/0.5087, allocations: 145.7 kB / 0.6767 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.5089, allocations: 121.8 kB / 0.6769 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.5118, allocations: 1.345 MB / 0.6782 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.5119, allocations: 5.531 kB / 0.6782 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.512, allocations: 48.72 kB / 0.6782 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/0.5121, allocations: 44.67 kB / 0.6783 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/0.5147, allocations: 1.102 MB / 0.6793 GB, free: 13.71 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.01078/0.5255, allocations: 6.959 MB / 0.6861 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/0.5282, allocations: 1.374 MB / 0.6875 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009987/0.5292, allocations: 429.1 kB / 0.6879 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006095/0.5353, allocations: 3.089 MB / 0.6909 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.5364, allocations: 451.7 kB / 0.6913 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006969/0.5372, allocations: 67.59 kB / 0.6914 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.905e-06/0.5372, allocations: 4 kB / 0.6914 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.003236/0.5404, allocations: 1.229 MB / 0.6926 GB, free: 4.211 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.5405, allocations: 58.28 kB / 0.6927 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/0.5428, allocations: 1.52 MB / 0.6941 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.5429, allocations: 42.83 kB / 0.6942 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/0.5437, allocations: 0.8849 MB / 0.695 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.544, allocations: 216.5 kB / 0.6953 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/0.5443, allocations: 212.3 kB / 0.6955 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.5445, allocations: 342.9 kB / 0.6958 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009325/0.5455, allocations: 387.3 kB / 0.6961 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.5469, allocations: 0.7614 MB / 0.6969 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.549, allocations: 1.135 MB / 0.698 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.5491, allocations: 6.75 kB / 0.698 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00307/0.5521, allocations: 1.305 MB / 0.6993 GB, free: 216 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.5522, allocations: 35.98 kB / 0.6993 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.5522, allocations: 10.5 kB / 0.6993 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/0.5523, allocations: 16.38 kB / 0.6993 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009955/0.5533, allocations: 262 kB / 0.6996 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.5533, allocations: 23.95 kB / 0.6996 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.5548, allocations: 119.2 kB / 0.6997 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5549, allocations: 54.83 kB / 0.6998 GB, free: 112 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001591/0.5565, allocations: 0.6778 MB / 0.7004 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001292/0.5578, allocations: 0.7468 MB / 0.7012 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002174/0.56, allocations: 1.096 MB / 0.7022 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.694e-06/0.5601, allocations: 7.25 kB / 0.7022 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002959/0.563, allocations: 1.272 MB / 0.7035 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.5631, allocations: 43.25 kB / 0.7035 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.5631, allocations: 11.78 kB / 0.7035 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5631, allocations: 15.62 kB / 0.7036 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000957/0.5641, allocations: 258 kB / 0.7038 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.5641, allocations: 23.98 kB / 0.7038 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.5657, allocations: 117.4 kB / 0.7039 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.632e-05/0.5658, allocations: 52.83 kB / 0.704 GB, free: 13.41 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.0003849/0.5662, allocations: 250.1 kB / 0.7042 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003452/0.5665, allocations: 171.3 kB / 0.7044 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/0.5693, allocations: 1.134 MB / 0.7055 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.5693, allocations: 14.42 kB / 0.7055 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5693, allocations: 1.375 kB / 0.7055 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002016/0.5714, allocations: 0.9712 MB / 0.7065 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004988/0.5764, allocations: 2.413 MB / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.5764, allocations: 2.875 kB / 0.7088 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/0.5771, allocations: 150.2 kB / 0.709 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/0.5773, allocations: 28.16 kB / 0.709 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.5774, allocations: 20.48 kB / 0.709 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.5786, allocations: 1.412 MB / 0.7104 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5786, allocations: 0 / 0.7104 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.5819, allocations: 1.569 MB / 0.7119 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/0.5827, allocations: 328.6 kB / 0.7122 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.5829, allocations: 17.53 kB / 0.7123 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000958/0.5839, allocations: 117 kB / 0.7124 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.584, allocations: 52.58 kB / 0.7124 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.5841, allocations: 31.92 kB / 0.7124 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001583/0.5857, allocations: 1.085 MB / 0.7135 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5857, allocations: 0 / 0.7135 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002848/0.5886, allocations: 0.8693 MB / 0.7144 GB, free: 5.445 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,coo.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.002215/0.5908, allocations: 0.724 MB / 0.7151 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003996/0.5948, allocations: 1.672 MB / 0.7167 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5948, allocations: 0 / 0.7167 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.596, allocations: 0.5514 MB / 0.7172 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/0.5993, allocations: 0.7705 MB / 0.718 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005868/0.6052, allocations: 3.711 MB / 0.7216 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.6062, allocations: 1.364 MB / 0.7229 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00175/0.608, allocations: 418 kB / 0.7233 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.6084, allocations: 135.4 kB / 0.7235 GB, free: 12.18 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.6084, allocations: 0 / 0.7235 GB, free: 12.18 MB / 0.545 GB Notification: Performance of Templates: time 0.05418/0.6625, allocations: 31.07 MB / 0.7538 GB, free: 13.52 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)