Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.397/4.397, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002617/0.002616, allocations: 354.5 kB / 0.644 GB, free: 21.52 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.981/3.981, allocations: 410.7 MB / 1.112 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00186/0.00186, allocations: 193.3 kB / 1.225 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004834, allocations: 12.78 kB / 1.348 GB, free: 320.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1546, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02569/0.1804, allocations: 26.27 MB / 1.486 GB, free: 194.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1906, allocations: 7.234 MB / 1.493 GB, free: 187.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.1917, allocations: 31.75 kB / 1.493 GB, free: 187.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.1928, allocations: 366.9 kB / 1.494 GB, free: 186.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.1958, allocations: 1.053 MB / 1.495 GB, free: 185.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.1995, allocations: 1.087 MB / 1.496 GB, free: 184.7 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004819/0.2043, allocations: 5.203 MB / 1.501 GB, free: 179.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.2064, allocations: 1.61 MB / 1.503 GB, free: 177.9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/0.2083, allocations: 1.268 MB / 1.504 GB, free: 176.7 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.2097, allocations: 1.229 MB / 1.505 GB, free: 175.4 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.2099, allocations: 76 kB / 1.505 GB, free: 175.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.212, allocations: 0.8149 MB / 1.506 GB, free: 174.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00046/0.2125, allocations: 362.4 kB / 1.506 GB, free: 174.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0006707/0.2131, allocations: 416.8 kB / 1.507 GB, free: 173.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.003281/0.2164, allocations: 2.77 MB / 1.509 GB, free: 171 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.135e-06/0.2165, allocations: 4 kB / 1.509 GB, free: 171 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.65e-06/0.2165, allocations: 0 / 1.509 GB, free: 171 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.159e-05/0.2166, allocations: 0 / 1.509 GB, free: 171 MB / 0.8073 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.004659/0.2212, allocations: 2.132 MB / 1.511 GB, free: 168.8 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2213, allocations: 8.75 kB / 1.511 GB, free: 168.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.2223, allocations: 233.5 kB / 1.512 GB, free: 168.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/0.2258, allocations: 1.701 MB / 1.513 GB, free: 166.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/0.2259, allocations: 118.7 kB / 1.513 GB, free: 166.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.2262, allocations: 148 kB / 1.514 GB, free: 166.6 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/0.23, allocations: 1.982 MB / 1.515 GB, free: 164.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/0.2301, allocations: 7.984 kB / 1.515 GB, free: 164.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.2303, allocations: 59.94 kB / 1.516 GB, free: 164.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/0.2303, allocations: 40 kB / 1.516 GB, free: 164.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003217/0.2335, allocations: 1.79 MB / 1.517 GB, free: 162.6 MB / 0.8073 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.01217/0.2457, allocations: 7.602 MB / 1.525 GB, free: 154.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.2478, allocations: 1.444 MB / 1.526 GB, free: 153.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009985/0.2489, allocations: 0.6742 MB / 1.527 GB, free: 152.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006537/0.2554, allocations: 3.835 MB / 1.531 GB, free: 148.4 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.2555, allocations: 51.48 kB / 1.531 GB, free: 148.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=88): time 3.61e-06/0.2555, allocations: 4 kB / 1.531 GB, free: 148.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=88): time 0.002729/0.2582, allocations: 1.498 MB / 1.532 GB, free: 146.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.2583, allocations: 60.41 kB / 1.532 GB, free: 146.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.2605, allocations: 1.57 MB / 1.534 GB, free: 145.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.2607, allocations: 57.7 kB / 1.534 GB, free: 145.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005905/0.2613, allocations: 0.7418 MB / 1.534 GB, free: 144.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.2616, allocations: 315.5 kB / 1.535 GB, free: 144.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.2617, allocations: 24 kB / 1.535 GB, free: 144 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2618, allocations: 369.9 kB / 1.535 GB, free: 143.7 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.263, allocations: 0.6792 MB / 1.536 GB, free: 143 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.2643, allocations: 1.012 MB / 1.537 GB, free: 141.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.2657, allocations: 0.8689 MB / 1.538 GB, free: 141 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.065e-06/0.2658, allocations: 4 kB / 1.538 GB, free: 141 MB / 0.8073 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003492/0.2693, allocations: 1.936 MB / 1.54 GB, free: 139 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.2694, allocations: 356.9 kB / 1.54 GB, free: 138.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.2695, allocations: 8 kB / 1.54 GB, free: 138.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.2695, allocations: 27.94 kB / 1.54 GB, free: 138.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.271, allocations: 335.5 kB / 1.54 GB, free: 138.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.2711, allocations: 19.94 kB / 1.54 GB, free: 138.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.2725, allocations: 225.9 kB / 1.54 GB, free: 138 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.2727, allocations: 59.98 kB / 1.541 GB, free: 137.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.239e-06/0.2727, allocations: 4 kB / 1.541 GB, free: 137.9 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003035/0.2758, allocations: 1.78 MB / 1.542 GB, free: 136.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.2758, allocations: 12.16 kB / 1.542 GB, free: 136.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.2758, allocations: 23.98 kB / 1.542 GB, free: 136.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.2773, allocations: 335.5 kB / 1.543 GB, free: 135.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.038e-05/0.2774, allocations: 19.94 kB / 1.543 GB, free: 135.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.2788, allocations: 186.5 kB / 1.543 GB, free: 135.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.2789, allocations: 59.98 kB / 1.543 GB, free: 135.5 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001096/0.28, allocations: 0.7464 MB / 1.544 GB, free: 134.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/0.2804, allocations: 150.2 kB / 1.544 GB, free: 134.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.2826, allocations: 1.28 MB / 1.545 GB, free: 133.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.2827, allocations: 8 kB / 1.545 GB, free: 133.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2827, allocations: 7.938 kB / 1.545 GB, free: 133.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/0.2843, allocations: 1.284 MB / 1.546 GB, free: 131.9 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00468/0.289, allocations: 2.927 MB / 1.549 GB, free: 128.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.289, allocations: 8 kB / 1.549 GB, free: 128.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.29, allocations: 183.8 kB / 1.549 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.2901, allocations: 4 kB / 1.549 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.468e-05/0.2902, allocations: 23.98 kB / 1.549 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.013e-06/0.2902, allocations: 7.938 kB / 1.549 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.39e-06/0.2902, allocations: 4 kB / 1.549 GB, free: 128.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.2931, allocations: 1.905 MB / 1.551 GB, free: 126.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/0.294, allocations: 418.9 kB / 1.552 GB, free: 126.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/0.2943, allocations: 23.98 kB / 1.552 GB, free: 126.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.2953, allocations: 79.67 kB / 1.552 GB, free: 126.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2954, allocations: 56.94 kB / 1.552 GB, free: 126.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-05/0.2956, allocations: 35.97 kB / 1.552 GB, free: 126.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001794/0.2974, allocations: 1.175 MB / 1.553 GB, free: 124.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.86e-07/0.2974, allocations: 0 / 1.553 GB, free: 124.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002585/0.3, allocations: 0.9007 MB / 1.554 GB, free: 124 MB / 0.8073 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 (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.0007467/0.3007, allocations: 348 kB / 1.554 GB, free: 123.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.3045, allocations: 2.309 MB / 1.556 GB, free: 121.4 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.605e-06/0.3046, allocations: 3.938 kB / 1.556 GB, free: 121.4 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.3054, allocations: 0.5134 MB / 1.557 GB, free: 120.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/0.3097, allocations: 0.8586 MB / 1.558 GB, free: 120 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/0.3158, allocations: 4.348 MB / 1.562 GB, free: 115.6 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.3171, allocations: 1.7 MB / 1.564 GB, free: 113.9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003313/0.3204, allocations: 0.9075 MB / 1.565 GB, free: 113 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.3209, allocations: 147.3 kB / 1.565 GB, free: 112.9 MB / 0.8073 GB Notification: Performance of SimCode: time 1.662e-06/0.3209, allocations: 0 / 1.565 GB, free: 112.9 MB / 0.8073 GB Notification: Performance of Templates: time 0.06315/0.384, allocations: 32.92 MB / 1.597 GB, free: 80.45 MB / 0.8073 GB