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.0008995/0.0008997, allocations: 91.45 kB / 16.02 MB, free: 80 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.0009711/0.0009711, allocations: 179 kB / 16.92 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9064/0.9064, allocations: 135.3 MB / 427.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003411, allocations: 11.98 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1492, allocations: 82.3 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.3305/0.4797, allocations: 65.31 MB / 0.6524 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01863/0.4984, allocations: 16.65 MB / 0.6686 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00392/0.5023, allocations: 82.12 kB / 0.6687 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003011/0.5054, allocations: 0.9849 MB / 0.6697 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007127/0.5125, allocations: 2.446 MB / 0.6721 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005385/0.5179, allocations: 2.089 MB / 0.6741 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.5282, allocations: 6.973 MB / 0.6809 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003002/0.5312, allocations: 1.572 MB / 0.6825 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004033/0.5353, allocations: 1.737 MB / 0.6842 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/0.5378, allocations: 1.431 MB / 0.6856 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.5381, allocations: 71.5 kB / 0.6856 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004208/0.5423, allocations: 1.824 MB / 0.6874 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006268/0.5429, allocations: 441.7 kB / 0.6878 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.5444, allocations: 1.019 MB / 0.6888 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004315/0.5487, allocations: 2.688 MB / 0.6914 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5488, allocations: 0 / 0.6914 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5488, allocations: 0 / 0.6914 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.464e-05/0.5488, allocations: 1.125 kB / 0.6914 GB, free: 7.73 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.004623/0.5534, allocations: 2.287 MB / 0.6937 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5535, allocations: 10.36 kB / 0.6937 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.555, allocations: 390.9 kB / 0.6941 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/0.5584, allocations: 1.812 MB / 0.6958 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004055/0.5588, allocations: 172.7 kB / 0.696 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.559, allocations: 128.2 kB / 0.6961 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/0.5618, allocations: 1.454 MB / 0.6975 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.5618, allocations: 4.938 kB / 0.6975 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5619, allocations: 47.94 kB / 0.6976 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.181e-05/0.562, allocations: 49.56 kB / 0.6976 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.5645, allocations: 1.134 MB / 0.6987 GB, free: 3.879 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.009145/0.5737, allocations: 7.376 MB / 0.7059 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.5758, allocations: 1.356 MB / 0.7073 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009901/0.5768, allocations: 467.9 kB / 0.7077 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004698/0.5815, allocations: 2.645 MB / 0.7103 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.5826, allocations: 0.4974 MB / 0.7108 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005389/0.5832, allocations: 90.08 kB / 0.7109 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 2.264e-06/0.5832, allocations: 0 / 0.7109 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.002987/0.5862, allocations: 1.265 MB / 0.7121 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.5862, allocations: 110.6 kB / 0.7122 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.5881, allocations: 1.451 MB / 0.7136 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.5882, allocations: 47.44 kB / 0.7137 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007199/0.5889, allocations: 0.8968 MB / 0.7145 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.5892, allocations: 230.3 kB / 0.7148 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.5893, allocations: 90.5 kB / 0.7149 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5894, allocations: 347.5 kB / 0.7152 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008851/0.5903, allocations: 392 kB / 0.7156 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.5914, allocations: 0.745 MB / 0.7163 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.5934, allocations: 1.118 MB / 0.7174 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.5934, allocations: 2.938 kB / 0.7174 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002476/0.5959, allocations: 1.309 MB / 0.7187 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.5961, allocations: 413.3 kB / 0.7191 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.5961, allocations: 10.03 kB / 0.7191 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.5962, allocations: 14.22 kB / 0.7191 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/0.5971, allocations: 260.8 kB / 0.7193 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/0.5971, allocations: 18.09 kB / 0.7193 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5984, allocations: 141.6 kB / 0.7195 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.939e-05/0.5985, allocations: 50.23 kB / 0.7195 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.5986, allocations: 3.625 kB / 0.7195 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002146/0.6007, allocations: 1.113 MB / 0.7206 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.6007, allocations: 10.84 kB / 0.7206 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.6008, allocations: 16.66 kB / 0.7206 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.6017, allocations: 256.1 kB / 0.7209 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/0.6017, allocations: 21.67 kB / 0.7209 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.6034, allocations: 128.3 kB / 0.721 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.6035, allocations: 53.7 kB / 0.7211 GB, free: 3.086 MB / 0.5294 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.00128/0.6048, allocations: 498.7 kB / 0.7216 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.6051, allocations: 165.9 kB / 0.7217 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.6076, allocations: 1.111 MB / 0.7228 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.6076, allocations: 8 kB / 0.7228 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/0.6076, allocations: 3.984 kB / 0.7228 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001742/0.6094, allocations: 0.8159 MB / 0.7236 GB, free: 484 kB / 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.004656/0.614, allocations: 2.71 MB / 0.7263 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.614, allocations: 3.984 kB / 0.7263 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/0.6148, allocations: 164 kB / 0.7264 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/0.6149, allocations: 32.84 kB / 0.7264 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.615, allocations: 23.92 kB / 0.7265 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009681/0.616, allocations: 1.323 MB / 0.7278 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.616, allocations: 4.156 kB / 0.7278 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.6191, allocations: 1.623 MB / 0.7293 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006855/0.6198, allocations: 366.5 kB / 0.7297 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/0.62, allocations: 19.98 kB / 0.7297 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6211, allocations: 119.8 kB / 0.7298 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6212, allocations: 56.48 kB / 0.7299 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.6213, allocations: 35.97 kB / 0.7299 GB, free: 9.723 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001456/0.6227, allocations: 1.046 MB / 0.7309 GB, free: 8.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6227, allocations: 4 kB / 0.7309 GB, free: 8.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002773/0.6255, allocations: 0.9431 MB / 0.7319 GB, free: 7.703 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 (76): * Single equations (assignments): 68 * 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.001255/0.6268, allocations: 0.5209 MB / 0.7324 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003454/0.6303, allocations: 1.631 MB / 0.734 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6303, allocations: 1.5 kB / 0.734 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.6314, allocations: 0.5628 MB / 0.7345 GB, free: 4.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/0.6358, allocations: 0.8493 MB / 0.7353 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005725/0.6415, allocations: 3.977 MB / 0.7392 GB, free: 92 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.6426, allocations: 1.388 MB / 0.7406 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.643, allocations: 151.4 kB / 0.7407 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of SimCode: time 5.01e-07/0.643, allocations: 3.938 kB / 0.7407 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.04831/0.6914, allocations: 34.48 MB / 0.7744 GB, free: 12.27 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)