Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007883/0.0007882, allocations: 97.41 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.005476/0.005477, allocations: 170.1 kB / 16.27 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7969/0.7969, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003815, allocations: 11.98 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/0.5228, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03237/0.5552, allocations: 27.71 MB / 0.6107 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01429/0.5695, allocations: 7.868 MB / 0.6184 GB, free: 9.289 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.5717, allocations: 28.53 kB / 0.6184 GB, free: 9.277 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.5736, allocations: 326.8 kB / 0.6188 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.5781, allocations: 0.9325 MB / 0.6197 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00395/0.5821, allocations: 0.9335 MB / 0.6206 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01029/0.5924, allocations: 6.085 MB / 0.6265 GB, free: 4.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003815/0.5962, allocations: 1.796 MB / 0.6283 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004577/0.6008, allocations: 1.33 MB / 0.6296 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.6041, allocations: 1.295 MB / 0.6308 GB, free: 8 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006738/0.6048, allocations: 76.05 kB / 0.6309 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.6088, allocations: 1.142 MB / 0.632 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009103/0.6098, allocations: 370.3 kB / 0.6324 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002827/0.6126, allocations: 0.985 MB / 0.6333 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006571/0.6192, allocations: 3.466 MB / 0.6367 GB, free: 9.953 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.6193, allocations: 0 / 0.6367 GB, free: 9.953 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6193, allocations: 0 / 0.6367 GB, free: 9.953 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001316/0.6194, allocations: 0 / 0.6367 GB, free: 9.953 MB / 478.1 MB 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.006122/0.6255, allocations: 2.137 MB / 0.6388 GB, free: 7.762 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.6256, allocations: 8.031 kB / 0.6388 GB, free: 7.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.6271, allocations: 234.5 kB / 0.639 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.6307, allocations: 1.783 MB / 0.6408 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.1e-05/0.6309, allocations: 110.7 kB / 0.6409 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.6311, allocations: 160 kB / 0.641 GB, free: 5.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.6345, allocations: 1.99 MB / 0.643 GB, free: 3.367 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.6345, allocations: 7.938 kB / 0.643 GB, free: 3.359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.6347, allocations: 56 kB / 0.643 GB, free: 3.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-05/0.6347, allocations: 36 kB / 0.6431 GB, free: 3.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.6377, allocations: 1.802 MB / 0.6448 GB, free: 1.461 MB / 478.1 MB 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.01224/0.6499, allocations: 7.614 MB / 0.6523 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.6519, allocations: 1.448 MB / 0.6537 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008949/0.6528, allocations: 0.6733 MB / 0.6543 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006702/0.6595, allocations: 3.835 MB / 0.6581 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.6596, allocations: 47.5 kB / 0.6581 GB, free: 3.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 3.266e-06/0.6596, allocations: 4 kB / 0.6581 GB, free: 3.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.00257/0.6622, allocations: 1.51 MB / 0.6596 GB, free: 1.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.6622, allocations: 60.41 kB / 0.6597 GB, free: 1.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.6646, allocations: 1.602 MB / 0.6612 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.6648, allocations: 53.7 kB / 0.6613 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007457/0.6655, allocations: 0.7613 MB / 0.662 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003486/0.6659, allocations: 307.6 kB / 0.6623 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.6661, allocations: 129.6 kB / 0.6624 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.6663, allocations: 369.9 kB / 0.6628 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.6674, allocations: 0.6792 MB / 0.6635 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.6687, allocations: 1.02 MB / 0.6645 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002319/0.671, allocations: 1.628 MB / 0.6661 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.671, allocations: 4 kB / 0.6661 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003452/0.6745, allocations: 1.955 MB / 0.668 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003063/0.6748, allocations: 357.3 kB / 0.6683 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.6749, allocations: 12 kB / 0.6683 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.556e-05/0.6749, allocations: 12 kB / 0.6683 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.6762, allocations: 339.5 kB / 0.6687 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/0.6762, allocations: 19.92 kB / 0.6687 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.678, allocations: 222 kB / 0.6689 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.6781, allocations: 59.98 kB / 0.6689 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6782, allocations: 4 kB / 0.6689 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002904/0.6811, allocations: 1.796 MB / 0.6707 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.6811, allocations: 8 kB / 0.6707 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6811, allocations: 19.94 kB / 0.6707 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.6823, allocations: 335.5 kB / 0.671 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.6823, allocations: 23.92 kB / 0.6711 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.6838, allocations: 186.6 kB / 0.6712 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.684, allocations: 63.98 kB / 0.6713 GB, free: 5.262 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.001306/0.6853, allocations: 0.7556 MB / 0.672 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.6856, allocations: 150.1 kB / 0.6722 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.6878, allocations: 1.283 MB / 0.6734 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.6878, allocations: 8 kB / 0.6734 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.6878, allocations: 64 / 0.6734 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/0.6894, allocations: 1.288 MB / 0.6747 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004592/0.694, allocations: 2.943 MB / 0.6776 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.694, allocations: 0 / 0.6776 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007879/0.6948, allocations: 183.8 kB / 0.6778 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.6948, allocations: 4 kB / 0.6778 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.6949, allocations: 23.98 kB / 0.6778 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.6949, allocations: 8.125 kB / 0.6778 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6949, allocations: 3.938 kB / 0.6778 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/0.6975, allocations: 1.913 MB / 0.6797 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008508/0.6984, allocations: 426.8 kB / 0.6801 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.6986, allocations: 27.98 kB / 0.6801 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008442/0.6995, allocations: 79.25 kB / 0.6802 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.6996, allocations: 52.88 kB / 0.6802 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.6997, allocations: 39.97 kB / 0.6803 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001783/0.7014, allocations: 1.207 MB / 0.6814 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7015, allocations: 0 / 0.6814 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002653/0.7041, allocations: 0.9084 MB / 0.6823 GB, free: 9.742 MB / 0.5137 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.0008777/0.705, allocations: 362.2 kB / 0.6827 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003707/0.7087, allocations: 2.328 MB / 0.6849 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7087, allocations: 0 / 0.6849 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.7095, allocations: 0.517 MB / 0.6854 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/0.714, allocations: 0.872 MB / 0.6863 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.7204, allocations: 4.402 MB / 0.6906 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.7217, allocations: 1.686 MB / 0.6922 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002921/0.7246, allocations: 0.9085 MB / 0.6931 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.725, allocations: 139.4 kB / 0.6933 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of SimCode: time 1.272e-06/0.725, allocations: 0 / 0.6933 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of Templates: time 0.05707/0.7821, allocations: 33.94 MB / 0.7264 GB, free: 12.93 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)