Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001468/0.001468, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9374/0.9374, allocations: 135.6 MB / 425.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.16 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1625, allocations: 81.02 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.2693/0.4319, allocations: 28.34 MB / 0.6122 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007584/0.4395, allocations: 7.845 MB / 0.6198 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007409/0.4402, allocations: 35.22 kB / 0.6199 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.441, allocations: 349.8 kB / 0.6202 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.4427, allocations: 0.9325 MB / 0.6211 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.4446, allocations: 0.9781 MB / 0.6221 GB, free: 33.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002983/0.4476, allocations: 4.924 MB / 0.6269 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.4494, allocations: 2.289 MB / 0.6291 GB, free: 30.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.452, allocations: 1.786 MB / 0.6309 GB, free: 29.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/0.4532, allocations: 1.496 MB / 0.6323 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.4535, allocations: 227.5 kB / 0.6325 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.4553, allocations: 1.319 MB / 0.6338 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.4556, allocations: 0.5513 MB / 0.6344 GB, free: 27.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009272/0.4566, allocations: 1.158 MB / 0.6355 GB, free: 27.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.4592, allocations: 3.654 MB / 0.6391 GB, free: 26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4593, allocations: 0 / 0.6391 GB, free: 26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4593, allocations: 0 / 0.6391 GB, free: 26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.216e-05/0.4593, allocations: 3.094 kB / 0.6391 GB, free: 26 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.003604/0.4629, allocations: 2.554 MB / 0.6416 GB, free: 24.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.463, allocations: 11.88 kB / 0.6416 GB, free: 24.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006634/0.4636, allocations: 230.1 kB / 0.6418 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/0.4657, allocations: 1.768 MB / 0.6435 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.618e-05/0.4658, allocations: 118.5 kB / 0.6436 GB, free: 23.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/0.466, allocations: 161 kB / 0.6438 GB, free: 23.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.4688, allocations: 1.998 MB / 0.6457 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.4689, allocations: 2.406 kB / 0.6457 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.469, allocations: 57.41 kB / 0.6458 GB, free: 22.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.469, allocations: 39.81 kB / 0.6458 GB, free: 22.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.4715, allocations: 1.797 MB / 0.6476 GB, free: 21.94 MB / 0.4981 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.009934/0.4814, allocations: 7.59 MB / 0.655 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.4831, allocations: 1.441 MB / 0.6564 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007988/0.4839, allocations: 0.6635 MB / 0.657 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005591/0.4895, allocations: 3.839 MB / 0.6608 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.4895, allocations: 44.09 kB / 0.6608 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.214e-06/0.4895, allocations: 0 / 0.6608 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002241/0.4918, allocations: 1.513 MB / 0.6623 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.4918, allocations: 62.03 kB / 0.6624 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.4938, allocations: 1.601 MB / 0.6639 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/0.4939, allocations: 52.17 kB / 0.664 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004902/0.4944, allocations: 0.7611 MB / 0.6647 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.4946, allocations: 311.4 kB / 0.665 GB, free: 12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000473/0.4951, allocations: 294.4 kB / 0.6653 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4952, allocations: 364 kB / 0.6657 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.4963, allocations: 0.693 MB / 0.6663 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.4974, allocations: 1.017 MB / 0.6673 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.4993, allocations: 1.628 MB / 0.6689 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.4993, allocations: 3.5 kB / 0.6689 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002878/0.5022, allocations: 1.948 MB / 0.6708 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5022, allocations: 8.469 kB / 0.6708 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5023, allocations: 9.094 kB / 0.6708 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.5023, allocations: 16.78 kB / 0.6709 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5035, allocations: 339.9 kB / 0.6712 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.809e-05/0.5035, allocations: 25.8 kB / 0.6712 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.5048, allocations: 214.8 kB / 0.6714 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.5049, allocations: 65.48 kB / 0.6715 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001736/0.5067, allocations: 1.288 MB / 0.6727 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001088/0.5078, allocations: 1.019 MB / 0.6737 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001696/0.5095, allocations: 1.615 MB / 0.6753 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.673e-06/0.5095, allocations: 3.125 kB / 0.6753 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002801/0.5123, allocations: 1.951 MB / 0.6772 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5123, allocations: 11.38 kB / 0.6772 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.5123, allocations: 12.97 kB / 0.6772 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.5123, allocations: 19.97 kB / 0.6773 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.5134, allocations: 335.1 kB / 0.6776 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.022e-05/0.5135, allocations: 22.22 kB / 0.6776 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.5147, allocations: 162.1 kB / 0.6777 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.5148, allocations: 63.14 kB / 0.6778 GB, free: 6.074 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * 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.0003281/0.5151, allocations: 258.1 kB / 0.6781 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.5154, allocations: 149.6 kB / 0.6782 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.5172, allocations: 1.284 MB / 0.6794 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5172, allocations: 8.312 kB / 0.6795 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5173, allocations: 1.438 kB / 0.6795 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001243/0.5185, allocations: 1.289 MB / 0.6807 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.5223, allocations: 2.942 MB / 0.6836 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5223, allocations: 0 / 0.6836 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/0.5231, allocations: 189.6 kB / 0.6838 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.5231, allocations: 7.781 kB / 0.6838 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.5231, allocations: 24.98 kB / 0.6838 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.5232, allocations: 5.375 kB / 0.6838 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5232, allocations: 4.062 kB / 0.6838 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.5254, allocations: 1.919 MB / 0.6857 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006768/0.5261, allocations: 391 kB / 0.6861 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.5263, allocations: 27.8 kB / 0.6861 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.5271, allocations: 80 kB / 0.6862 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.5272, allocations: 53 kB / 0.6862 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.656e-05/0.5273, allocations: 38.25 kB / 0.6862 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001336/0.5287, allocations: 1.206 MB / 0.6874 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5287, allocations: 3.938 kB / 0.6874 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002196/0.5309, allocations: 0.9093 MB / 0.6883 GB, free: 460 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007816/0.5317, allocations: 350 kB / 0.6887 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004798/0.5365, allocations: 2.833 MB / 0.6914 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5365, allocations: 4 kB / 0.6914 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007587/0.5372, allocations: 0.5209 MB / 0.6919 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/0.5416, allocations: 0.9152 MB / 0.6928 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006608/0.5483, allocations: 4.302 MB / 0.697 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.5497, allocations: 1.678 MB / 0.6987 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002813/0.5526, allocations: 0.9132 MB / 0.6996 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.553, allocations: 131.4 kB / 0.6997 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of SimCode: time 6.91e-07/0.553, allocations: 3.938 kB / 0.6997 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of Templates: time 0.05746/0.6104, allocations: 35.2 MB / 0.7341 GB, free: 2.516 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)