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.001226/0.001226, allocations: 98.03 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.01003/0.01003, allocations: 169.2 kB / 16.26 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003898, allocations: 9.281 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1951, allocations: 82.32 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3748/0.57, allocations: 27.67 MB / 0.615 GB, free: 34.17 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.5802, allocations: 7.866 MB / 0.6227 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.5819, allocations: 37.28 kB / 0.6227 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.5831, allocations: 331.7 kB / 0.623 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.5862, allocations: 0.9314 MB / 0.624 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.5892, allocations: 0.9279 MB / 0.6249 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0062/0.5954, allocations: 6.08 MB / 0.6308 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002571/0.598, allocations: 1.801 MB / 0.6326 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.6012, allocations: 1.326 MB / 0.6339 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.6034, allocations: 1.302 MB / 0.6351 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.6037, allocations: 81.53 kB / 0.6352 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.6067, allocations: 1.142 MB / 0.6363 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.6071, allocations: 366.8 kB / 0.6367 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.6085, allocations: 0.9821 MB / 0.6376 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004449/0.613, allocations: 3.464 MB / 0.641 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.613, allocations: 4 kB / 0.641 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.786e-06/0.613, allocations: 0 / 0.641 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.105e-05/0.6131, allocations: 0 / 0.641 GB, free: 27.38 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.004321/0.6175, allocations: 2.144 MB / 0.6431 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6175, allocations: 10.5 kB / 0.6431 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/0.6183, allocations: 235.2 kB / 0.6433 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.6209, allocations: 1.766 MB / 0.6451 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.621, allocations: 110.7 kB / 0.6452 GB, free: 25.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.6212, allocations: 155.7 kB / 0.6453 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/0.6248, allocations: 2 MB / 0.6473 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/0.6249, allocations: 6.156 kB / 0.6473 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.6251, allocations: 58.64 kB / 0.6473 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.795e-05/0.6251, allocations: 36.73 kB / 0.6474 GB, free: 24.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003464/0.6286, allocations: 1.797 MB / 0.6491 GB, free: 23.57 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.0135/0.6421, allocations: 7.622 MB / 0.6566 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.6443, allocations: 1.437 MB / 0.658 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.6454, allocations: 0.6625 MB / 0.6586 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008002/0.6534, allocations: 3.84 MB / 0.6624 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.6535, allocations: 53.36 kB / 0.6624 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 3.516e-06/0.6535, allocations: 0 / 0.6624 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.003155/0.6567, allocations: 1.512 MB / 0.6639 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.6567, allocations: 62.69 kB / 0.664 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/0.6597, allocations: 1.605 MB / 0.6655 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.66, allocations: 47.48 kB / 0.6656 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006591/0.6606, allocations: 0.7583 MB / 0.6663 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.661, allocations: 311.3 kB / 0.6666 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.6612, allocations: 134.6 kB / 0.6667 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6614, allocations: 360 kB / 0.6671 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.6626, allocations: 0.6842 MB / 0.6677 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.6641, allocations: 1.022 MB / 0.6687 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/0.6667, allocations: 1.625 MB / 0.6703 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.6667, allocations: 2.656 kB / 0.6703 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003784/0.6705, allocations: 1.953 MB / 0.6722 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.6707, allocations: 360.9 kB / 0.6726 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.6707, allocations: 11.78 kB / 0.6726 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.282e-05/0.6708, allocations: 16.28 kB / 0.6726 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.6721, allocations: 336.3 kB / 0.6729 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.513e-05/0.6721, allocations: 24.91 kB / 0.673 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.6739, allocations: 210.8 kB / 0.6732 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.674, allocations: 68.55 kB / 0.6732 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.6741, allocations: 3.875 kB / 0.6732 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002963/0.677, allocations: 1.801 MB / 0.675 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.6771, allocations: 9.844 kB / 0.675 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.6771, allocations: 14.94 kB / 0.675 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6783, allocations: 340.6 kB / 0.6753 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.904e-05/0.6784, allocations: 21.78 kB / 0.6754 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.6802, allocations: 178 kB / 0.6755 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.6803, allocations: 66.25 kB / 0.6756 GB, free: 9.387 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.001666/0.682, allocations: 0.7529 MB / 0.6763 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005606/0.6826, allocations: 153.8 kB / 0.6765 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.6854, allocations: 1.28 MB / 0.6777 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.6854, allocations: 8.812 kB / 0.6777 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.6855, allocations: 4.969 kB / 0.6777 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001653/0.6871, allocations: 1.286 MB / 0.679 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.6924, allocations: 2.937 MB / 0.6819 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.6925, allocations: 1.156 kB / 0.6819 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009122/0.6934, allocations: 181.7 kB / 0.682 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/0.6934, allocations: 7.844 kB / 0.682 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.6935, allocations: 24.42 kB / 0.6821 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.6935, allocations: 8.219 kB / 0.6821 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.6935, allocations: 6.406 kB / 0.6821 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003492/0.697, allocations: 1.922 MB / 0.6839 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.6983, allocations: 429 kB / 0.6844 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002586/0.6986, allocations: 19.31 kB / 0.6844 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009533/0.6995, allocations: 79.86 kB / 0.6845 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6996, allocations: 54.3 kB / 0.6845 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.488e-05/0.6997, allocations: 36.27 kB / 0.6845 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002117/0.7019, allocations: 1.213 MB / 0.6857 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7019, allocations: 0 / 0.6857 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003302/0.7052, allocations: 0.9048 MB / 0.6866 GB, free: 3.48 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.0009401/0.7061, allocations: 360.1 kB / 0.687 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003462/0.7096, allocations: 2.326 MB / 0.6892 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.7096, allocations: 384 / 0.6892 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006531/0.7103, allocations: 0.5238 MB / 0.6897 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004549/0.7148, allocations: 0.8739 MB / 0.6906 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/0.721, allocations: 4.405 MB / 0.6949 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/0.7223, allocations: 1.678 MB / 0.6965 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00297/0.7253, allocations: 0.9117 MB / 0.6974 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.7258, allocations: 135.4 kB / 0.6975 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of SimCode: time 1.513e-06/0.7258, allocations: 0 / 0.6975 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of Templates: time 0.06028/0.786, allocations: 33.94 MB / 0.7307 GB, free: 9.125 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)