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.0009678/0.0009678, allocations: 92.08 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.001222/0.001222, allocations: 179.8 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9539/0.9539, allocations: 135.3 MB / 427.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003635, allocations: 8 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 82.3 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3433/0.5169, allocations: 27.7 MB / 0.6157 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01/0.527, allocations: 7.868 MB / 0.6233 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.5285, allocations: 29.25 kB / 0.6234 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.5297, allocations: 330.3 kB / 0.6237 GB, free: 33.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.5327, allocations: 0.9268 MB / 0.6246 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.5355, allocations: 0.9391 MB / 0.6255 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006138/0.5417, allocations: 6.074 MB / 0.6314 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.5444, allocations: 1.805 MB / 0.6332 GB, free: 30.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.5476, allocations: 1.333 MB / 0.6345 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.5502, allocations: 1.295 MB / 0.6358 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005742/0.5508, allocations: 78.09 kB / 0.6358 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003559/0.5544, allocations: 1.135 MB / 0.637 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.5556, allocations: 374.2 kB / 0.6373 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003209/0.5588, allocations: 0.9776 MB / 0.6383 GB, free: 28.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004637/0.5635, allocations: 2.853 MB / 0.641 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.5635, allocations: 0 / 0.641 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.845e-06/0.5635, allocations: 3.938 kB / 0.6411 GB, free: 27.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001388/0.5637, allocations: 3 kB / 0.6411 GB, free: 27.72 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.005884/0.5695, allocations: 2.133 MB / 0.6431 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.5696, allocations: 12.44 kB / 0.6432 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.571, allocations: 236.4 kB / 0.6434 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.5741, allocations: 1.779 MB / 0.6451 GB, free: 25.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.5742, allocations: 112.1 kB / 0.6452 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/0.5745, allocations: 148.6 kB / 0.6454 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003016/0.5775, allocations: 1.997 MB / 0.6473 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.5775, allocations: 6.094 kB / 0.6473 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.5777, allocations: 57.44 kB / 0.6474 GB, free: 24.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.785e-05/0.5778, allocations: 39.91 kB / 0.6474 GB, free: 24.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003021/0.5808, allocations: 1.797 MB / 0.6492 GB, free: 23.91 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.01288/0.5937, allocations: 7.621 MB / 0.6566 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.5958, allocations: 1.44 MB / 0.658 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009673/0.5968, allocations: 0.6632 MB / 0.6587 GB, free: 18.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007101/0.6039, allocations: 3.837 MB / 0.6624 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.604, allocations: 49.16 kB / 0.6625 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.326e-06/0.604, allocations: 4 kB / 0.6625 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002807/0.6068, allocations: 1.513 MB / 0.6639 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.6069, allocations: 61.72 kB / 0.664 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.6094, allocations: 1.607 MB / 0.6656 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.6095, allocations: 46.52 kB / 0.6656 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006145/0.6102, allocations: 0.7567 MB / 0.6663 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003023/0.6105, allocations: 313.4 kB / 0.6666 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.6107, allocations: 129.5 kB / 0.6668 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6108, allocations: 369 kB / 0.6671 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.6119, allocations: 0.6804 MB / 0.6678 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.6132, allocations: 1.028 MB / 0.6688 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.6153, allocations: 1.621 MB / 0.6704 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.6153, allocations: 3.938 kB / 0.6704 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003365/0.6187, allocations: 1.951 MB / 0.6723 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.6189, allocations: 360.3 kB / 0.6726 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.6189, allocations: 9.312 kB / 0.6726 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.899e-05/0.619, allocations: 15.47 kB / 0.6726 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.6202, allocations: 337 kB / 0.673 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/0.6203, allocations: 20.89 kB / 0.673 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.6218, allocations: 219.1 kB / 0.6732 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/0.622, allocations: 65.03 kB / 0.6733 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.622, allocations: 3.594 kB / 0.6733 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002639/0.6246, allocations: 1.795 MB / 0.675 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.6247, allocations: 13.47 kB / 0.675 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6247, allocations: 15.59 kB / 0.675 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.6259, allocations: 338.5 kB / 0.6754 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/0.6259, allocations: 19.12 kB / 0.6754 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.6273, allocations: 193.5 kB / 0.6756 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.6275, allocations: 56.58 kB / 0.6756 GB, free: 9.723 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.001386/0.6289, allocations: 0.756 MB / 0.6764 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004954/0.6294, allocations: 156.6 kB / 0.6765 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.6315, allocations: 1.281 MB / 0.6778 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.6316, allocations: 11.33 kB / 0.6778 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6316, allocations: 0 / 0.6778 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/0.633, allocations: 1.286 MB / 0.679 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004927/0.6379, allocations: 2.935 MB / 0.6819 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.6379, allocations: 1.594 kB / 0.6819 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007812/0.6387, allocations: 188.3 kB / 0.6821 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.6388, allocations: 4.438 kB / 0.6821 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.6388, allocations: 24.61 kB / 0.6821 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.6388, allocations: 4.219 kB / 0.6821 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6388, allocations: 2.031 kB / 0.6821 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.6416, allocations: 1.922 MB / 0.684 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009772/0.6426, allocations: 424.4 kB / 0.6844 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/0.6428, allocations: 19.12 kB / 0.6844 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008396/0.6437, allocations: 77.42 kB / 0.6845 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.6438, allocations: 59.45 kB / 0.6845 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.6439, allocations: 30.23 kB / 0.6846 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001802/0.6457, allocations: 1.21 MB / 0.6858 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6457, allocations: 0 / 0.6858 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00321/0.6489, allocations: 0.9169 MB / 0.6866 GB, free: 3.84 MB / 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.000917/0.6499, allocations: 363 kB / 0.687 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003519/0.6534, allocations: 2.322 MB / 0.6893 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6534, allocations: 0 / 0.6893 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006496/0.6541, allocations: 0.5204 MB / 0.6898 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004686/0.6588, allocations: 0.8808 MB / 0.6906 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00579/0.6646, allocations: 4.381 MB / 0.6949 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.6658, allocations: 1.634 MB / 0.6965 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006794/0.6665, allocations: 147.3 kB / 0.6966 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.6665, allocations: 0 / 0.6966 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of Templates: time 0.05354/0.72, allocations: 32.05 MB / 0.7279 GB, free: 12.41 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)