Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001507, allocations: 186.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7016/0.7016, allocations: 82.92 MB / 99.42 MB, free: 3.195 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.4 MB / 325.4 MB, free: 3.371 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 100.7 kB / 393.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004422, allocations: 15.98 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08668, allocations: 67.45 MB / 0.5263 GB, free: 15.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03283/0.1196, allocations: 23.94 MB / 0.5497 GB, free: 7.074 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.1319, allocations: 6.805 MB / 0.5564 GB, free: 260 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009895/0.1329, allocations: 27.81 kB / 0.5564 GB, free: 232 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.1343, allocations: 397.9 kB / 0.5568 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.1378, allocations: 1.008 MB / 0.5578 GB, free: 14.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0042/0.142, allocations: 1.084 MB / 0.5588 GB, free: 13.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004502/0.1465, allocations: 2.709 MB / 0.5615 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/0.149, allocations: 1.617 MB / 0.563 GB, free: 9.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.1513, allocations: 1.172 MB / 0.5642 GB, free: 8.234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.1528, allocations: 0.9333 MB / 0.5651 GB, free: 7.297 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00023/0.153, allocations: 80 kB / 0.5652 GB, free: 7.219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.1554, allocations: 0.8465 MB / 0.566 GB, free: 6.371 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005013/0.156, allocations: 346.7 kB / 0.5663 GB, free: 6.031 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006483/0.1566, allocations: 420.7 kB / 0.5667 GB, free: 5.613 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.1604, allocations: 2.759 MB / 0.5694 GB, free: 2.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.354e-06/0.1605, allocations: 0 / 0.5694 GB, free: 2.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.853e-06/0.1605, allocations: 3.984 kB / 0.5694 GB, free: 2.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.205e-05/0.1605, allocations: 3.938 kB / 0.5694 GB, free: 2.84 MB / 410.7 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.005073/0.1656, allocations: 2.125 MB / 0.5715 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1657, allocations: 8.031 kB / 0.5715 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.1667, allocations: 225.5 kB / 0.5717 GB, free: 440 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.1704, allocations: 1.616 MB / 0.5733 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.1706, allocations: 114.7 kB / 0.5734 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.1709, allocations: 151.9 kB / 0.5736 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004179/0.1751, allocations: 1.97 MB / 0.5755 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.1752, allocations: 4 kB / 0.5755 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.1754, allocations: 59.98 kB / 0.5756 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.987e-05/0.1755, allocations: 43.98 kB / 0.5756 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003805/0.1793, allocations: 1.79 MB / 0.5773 GB, free: 10.56 MB / 426.7 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.01571/0.195, allocations: 7.691 MB / 0.5849 GB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.1979, allocations: 1.46 MB / 0.5863 GB, free: 1.074 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3025/0.5004, allocations: 3.866 MB / 0.5901 GB, free: 60.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.5005, allocations: 44.91 kB / 0.5901 GB, free: 60.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=88): time 4.277e-06/0.5005, allocations: 3.375 kB / 0.5901 GB, free: 60.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.003432/0.504, allocations: 1.507 MB / 0.5916 GB, free: 60.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.504, allocations: 61.53 kB / 0.5916 GB, free: 60.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/0.507, allocations: 1.661 MB / 0.5933 GB, free: 59.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001815/0.5072, allocations: 47.73 kB / 0.5933 GB, free: 59.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00066/0.5079, allocations: 0.7539 MB / 0.594 GB, free: 58.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.5082, allocations: 307 kB / 0.5943 GB, free: 58.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.875e-05/0.5083, allocations: 29.06 kB / 0.5944 GB, free: 58.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5085, allocations: 364.2 kB / 0.5947 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.5099, allocations: 0.6792 MB / 0.5954 GB, free: 58.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.5115, allocations: 1.004 MB / 0.5963 GB, free: 57.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.5132, allocations: 0.869 MB / 0.5972 GB, free: 57.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.5132, allocations: 2.75 kB / 0.5972 GB, free: 57.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004101/0.5173, allocations: 1.934 MB / 0.5991 GB, free: 56.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006986/0.518, allocations: 3.531 MB / 0.6025 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.5181, allocations: 10.58 kB / 0.6025 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-05/0.5181, allocations: 17.91 kB / 0.6026 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.5199, allocations: 344.9 kB / 0.6029 GB, free: 52.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.793e-05/0.52, allocations: 22.41 kB / 0.6029 GB, free: 52.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.5216, allocations: 226.1 kB / 0.6031 GB, free: 52.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/0.5218, allocations: 66.94 kB / 0.6032 GB, free: 52.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5219, allocations: 4.125 kB / 0.6032 GB, free: 52.63 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003728/0.5256, allocations: 1.782 MB / 0.6049 GB, free: 51.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.5257, allocations: 11.97 kB / 0.6049 GB, free: 51.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.5257, allocations: 17.78 kB / 0.605 GB, free: 51.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.5274, allocations: 346.1 kB / 0.6053 GB, free: 51.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-05/0.5275, allocations: 21.12 kB / 0.6053 GB, free: 51.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.5291, allocations: 194.2 kB / 0.6055 GB, free: 51.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.5293, allocations: 60.94 kB / 0.6056 GB, free: 51.86 MB / 426.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001349/0.5306, allocations: 0.7538 MB / 0.6063 GB, free: 51.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003916/0.531, allocations: 145.9 kB / 0.6064 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.5337, allocations: 1.274 MB / 0.6077 GB, free: 50.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.5337, allocations: 13.23 kB / 0.6077 GB, free: 50.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.877e-06/0.5338, allocations: 2.031 kB / 0.6077 GB, free: 50.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001884/0.5356, allocations: 1.275 MB / 0.6089 GB, free: 50.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005499/0.5412, allocations: 2.962 MB / 0.6118 GB, free: 48.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.226e-06/0.5412, allocations: 4 kB / 0.6118 GB, free: 48.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5423, allocations: 181.8 kB / 0.612 GB, free: 48.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.5423, allocations: 6.688 kB / 0.612 GB, free: 48.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.184e-05/0.5424, allocations: 24.02 kB / 0.612 GB, free: 48.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.017e-05/0.5424, allocations: 8.484 kB / 0.612 GB, free: 48.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.188e-06/0.5424, allocations: 1.156 kB / 0.612 GB, free: 48.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/0.5458, allocations: 1.971 MB / 0.614 GB, free: 47.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009416/0.5468, allocations: 446.9 kB / 0.6144 GB, free: 47.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002761/0.5471, allocations: 22.98 kB / 0.6144 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.5482, allocations: 79.98 kB / 0.6145 GB, free: 47.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5483, allocations: 51.28 kB / 0.6145 GB, free: 47.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.5484, allocations: 38.3 kB / 0.6146 GB, free: 47.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00211/0.5506, allocations: 1.246 MB / 0.6158 GB, free: 46.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.5506, allocations: 0 / 0.6158 GB, free: 46.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002993/0.5536, allocations: 0.9165 MB / 0.6167 GB, free: 46.41 MB / 426.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008542/0.5545, allocations: 360.4 kB / 0.617 GB, free: 46.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004274/0.5588, allocations: 2.313 MB / 0.6193 GB, free: 45.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.446e-06/0.5588, allocations: 448 / 0.6193 GB, free: 45.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009495/0.5598, allocations: 0.5216 MB / 0.6198 GB, free: 44.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004436/0.5642, allocations: 0.8441 MB / 0.6206 GB, free: 44.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/0.5706, allocations: 4.32 MB / 0.6248 GB, free: 40.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.5718, allocations: 1.696 MB / 0.6265 GB, free: 39.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003313/0.5752, allocations: 0.9202 MB / 0.6274 GB, free: 38.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.5757, allocations: 142.6 kB / 0.6275 GB, free: 38.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.54e-06/0.5757, allocations: 4 kB / 0.6275 GB, free: 38.2 MB / 426.7 MB Notification: Performance of Templates: time 0.06251/0.6382, allocations: 33.53 MB / 0.6603 GB, free: 4.906 MB / 426.7 MB