Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.088/2.088, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 184.5 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.254/2.254, allocations: 205.4 MB / 0.5766 GB, free: 21.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 103.5 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006247/0.0006247, allocations: 13.02 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1975, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.399, allocations: 401.4 MB / 1.291 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/1.4, allocations: 108 kB / 1.291 GB, free: 1.922 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.99/3.389, allocations: 402.2 MB / 1.684 GB, free: 69.59 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.413e-06/3.389, allocations: 0 / 1.684 GB, free: 69.59 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002199/3.389, allocations: 51.92 kB / 1.684 GB, free: 69.54 MB / 0.8855 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.008036/3.397, allocations: 2.226 MB / 1.686 GB, free: 67.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/3.398, allocations: 8.031 kB / 1.686 GB, free: 67.24 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/3.399, allocations: 225.5 kB / 1.686 GB, free: 67.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00654/3.406, allocations: 2.072 MB / 1.688 GB, free: 64.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/3.406, allocations: 114.7 kB / 1.688 GB, free: 64.78 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004322/3.406, allocations: 163.8 kB / 1.688 GB, free: 64.62 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004482/3.411, allocations: 1.865 MB / 1.69 GB, free: 62.69 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.151e-05/3.411, allocations: 11.94 kB / 1.69 GB, free: 62.68 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002161/3.411, allocations: 56 kB / 1.69 GB, free: 62.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/3.411, allocations: 40 kB / 1.69 GB, free: 62.58 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/3.415, allocations: 1.689 MB / 1.692 GB, free: 60.89 MB / 0.8855 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.01729/3.432, allocations: 7.511 MB / 1.699 GB, free: 53.09 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/3.435, allocations: 1.331 MB / 1.701 GB, free: 51.74 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009924/3.445, allocations: 3.729 MB / 1.704 GB, free: 47.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/3.445, allocations: 55.45 kB / 1.704 GB, free: 47.64 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 3.917e-06/3.445, allocations: 0 / 1.704 GB, free: 47.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86): time 0.003667/3.449, allocations: 1.451 MB / 1.706 GB, free: 46.19 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/3.449, allocations: 68.34 kB / 1.706 GB, free: 46.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/3.452, allocations: 1.504 MB / 1.707 GB, free: 44.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003477/3.453, allocations: 49.7 kB / 1.707 GB, free: 44.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007601/3.454, allocations: 0.7572 MB / 1.708 GB, free: 43.77 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004867/3.454, allocations: 311.6 kB / 1.708 GB, free: 43.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/3.454, allocations: 24 kB / 1.708 GB, free: 43.44 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001314/3.454, allocations: 373.9 kB / 1.709 GB, free: 43.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/3.456, allocations: 0.6636 MB / 1.709 GB, free: 42.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/3.458, allocations: 1.018 MB / 1.71 GB, free: 41.25 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/3.46, allocations: 0.8578 MB / 1.711 GB, free: 40.39 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/3.46, allocations: 4 kB / 1.711 GB, free: 40.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00484/3.465, allocations: 1.924 MB / 1.713 GB, free: 38.46 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007005/3.466, allocations: 3.523 MB / 1.717 GB, free: 34.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/3.466, allocations: 8 kB / 1.717 GB, free: 34.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.85e-05/3.466, allocations: 19.95 kB / 1.717 GB, free: 34.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/3.468, allocations: 351.5 kB / 1.717 GB, free: 34.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.381e-05/3.468, allocations: 19.94 kB / 1.717 GB, free: 34.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/3.471, allocations: 225.9 kB / 1.717 GB, free: 34.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003187/3.471, allocations: 63.98 kB / 1.717 GB, free: 34.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/3.471, allocations: 4 kB / 1.717 GB, free: 34.02 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004219/3.476, allocations: 1.775 MB / 1.719 GB, free: 32.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/3.476, allocations: 11.98 kB / 1.719 GB, free: 32.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/3.476, allocations: 16 kB / 1.719 GB, free: 32.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/3.478, allocations: 352.3 kB / 1.719 GB, free: 31.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.18e-05/3.478, allocations: 23.92 kB / 1.719 GB, free: 31.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/3.481, allocations: 190.5 kB / 1.72 GB, free: 31.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/3.481, allocations: 63.98 kB / 1.72 GB, free: 31.59 MB / 0.8855 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 (176): * Single equations (assignments): 176 * 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.001586/3.482, allocations: 0.7464 MB / 1.72 GB, free: 30.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005467/3.483, allocations: 150.1 kB / 1.72 GB, free: 30.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/3.486, allocations: 1.208 MB / 1.722 GB, free: 29.47 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/3.486, allocations: 11.98 kB / 1.722 GB, free: 29.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/3.486, allocations: 0 / 1.722 GB, free: 29.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002/3.488, allocations: 1.249 MB / 1.723 GB, free: 28.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/3.495, allocations: 2.872 MB / 1.726 GB, free: 25.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/3.495, allocations: 8.094 kB / 1.726 GB, free: 25.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/3.496, allocations: 175.8 kB / 1.726 GB, free: 25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/3.496, allocations: 11.92 kB / 1.726 GB, free: 24.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.65e-05/3.496, allocations: 23.98 kB / 1.726 GB, free: 24.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/3.496, allocations: 4 kB / 1.726 GB, free: 24.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/3.496, allocations: 0 / 1.726 GB, free: 24.96 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/3.5, allocations: 1.912 MB / 1.728 GB, free: 22.98 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/3.501, allocations: 426.7 kB / 1.728 GB, free: 22.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004442/3.502, allocations: 23.98 kB / 1.728 GB, free: 22.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/3.504, allocations: 71.78 kB / 1.728 GB, free: 22.45 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/3.504, allocations: 48.92 kB / 1.728 GB, free: 22.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/3.504, allocations: 31.98 kB / 1.728 GB, free: 22.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002607/3.506, allocations: 1.253 MB / 1.73 GB, free: 21.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.8e-07/3.506, allocations: 0 / 1.73 GB, free: 21.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003888/3.51, allocations: 0.9591 MB / 1.731 GB, free: 20.16 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (88): * Single equations (assignments): 86 * 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.001352/3.512, allocations: 0.4957 MB / 1.731 GB, free: 19.67 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005287/3.517, allocations: 2.29 MB / 1.733 GB, free: 17.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/3.517, allocations: 8.188 kB / 1.733 GB, free: 17.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/3.518, allocations: 0.5092 MB / 1.734 GB, free: 16.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006785/3.525, allocations: 0.8475 MB / 1.735 GB, free: 16.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/3.533, allocations: 4.268 MB / 1.739 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/3.535, allocations: 1.692 MB / 1.74 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00453/3.539, allocations: 0.9032 MB / 1.741 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007116/3.54, allocations: 135.3 kB / 1.741 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of SimCode: time 1.363e-06/3.54, allocations: 0 / 1.741 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of Templates: time 0.7012/4.241, allocations: 34.39 MB / 1.775 GB, free: 228.8 MB / 0.8855 GB