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.199/2.199, allocations: 252.6 MB / 265.2 MB, free: 5.652 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.00149, allocations: 187.8 kB / 324.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001145/0.001145, allocations: 97.95 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.56e-05, allocations: 8 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1915, allocations: 106.2 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.813/2.005, allocations: 401.3 MB / 1.287 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/2.005, allocations: 94.92 kB / 1.287 GB, free: 243.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.967/3.972, allocations: 401 MB / 1.679 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.385e-06/3.972, allocations: 0 / 1.679 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002433/3.973, allocations: 46.03 kB / 1.679 GB, free: 224.2 MB / 0.8698 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.0066/3.979, allocations: 1.924 MB / 1.68 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/3.979, allocations: 7.562 kB / 1.68 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/3.981, allocations: 219.8 kB / 1.681 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006981/3.988, allocations: 2.063 MB / 1.683 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/3.988, allocations: 112.5 kB / 1.683 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005611/3.988, allocations: 160.5 kB / 1.683 GB, free: 222.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004907/3.993, allocations: 1.84 MB / 1.685 GB, free: 221 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.676e-05/3.994, allocations: 7.188 kB / 1.685 GB, free: 221 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/3.994, allocations: 55.95 kB / 1.685 GB, free: 221 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/3.994, allocations: 42.73 kB / 1.685 GB, free: 221 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004435/3.998, allocations: 1.663 MB / 1.686 GB, free: 220.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.02392/4.022, allocations: 7.527 MB / 1.694 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004875/4.027, allocations: 1.308 MB / 1.695 GB, free: 214 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/4.03, allocations: 0.6304 MB / 1.696 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/4.046, allocations: 3.816 MB / 1.699 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/4.046, allocations: 45.56 kB / 1.699 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=86): time 6.943e-06/4.046, allocations: 0 / 1.699 GB, free: 210.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86): time 0.00461/4.051, allocations: 1.045 MB / 1.701 GB, free: 210 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/4.051, allocations: 66.98 kB / 1.701 GB, free: 210 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005264/4.056, allocations: 1.48 MB / 1.702 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004651/4.057, allocations: 48.45 kB / 1.702 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/4.058, allocations: 0.7664 MB / 1.703 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007349/4.059, allocations: 311.3 kB / 1.703 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/4.059, allocations: 30.88 kB / 1.703 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002294/4.06, allocations: 361 kB / 1.703 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002742/4.062, allocations: 0.6692 MB / 1.704 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/4.066, allocations: 1 MB / 1.705 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/4.069, allocations: 0.8597 MB / 1.706 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/4.069, allocations: 5.469 kB / 1.706 GB, free: 206.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.008582/4.078, allocations: 1.911 MB / 1.708 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/4.079, allocations: 3.526 MB / 1.711 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-05/4.079, allocations: 10.98 kB / 1.711 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.805e-05/4.079, allocations: 18.25 kB / 1.711 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/4.084, allocations: 348.1 kB / 1.712 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.441e-05/4.084, allocations: 25.3 kB / 1.712 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/4.088, allocations: 223.7 kB / 1.712 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006172/4.089, allocations: 65.95 kB / 1.712 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/4.089, allocations: 3.812 kB / 1.712 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00743/4.097, allocations: 1.76 MB / 1.714 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-05/4.097, allocations: 10.53 kB / 1.714 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/4.097, allocations: 18.78 kB / 1.714 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004263/4.101, allocations: 348.8 kB / 1.714 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.499e-05/4.101, allocations: 17.75 kB / 1.714 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/4.105, allocations: 193.9 kB / 1.714 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006123/4.105, allocations: 65.67 kB / 1.714 GB, free: 200.4 MB / 0.8698 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 () * 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.0006226/4.106, allocations: 185.9 kB / 1.714 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009267/4.107, allocations: 142.1 kB / 1.715 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005614/4.113, allocations: 1.199 MB / 1.716 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/4.113, allocations: 7.312 kB / 1.716 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/4.113, allocations: 2.938 kB / 1.716 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002092/4.115, allocations: 1.241 MB / 1.717 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006803/4.122, allocations: 2.85 MB / 1.72 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/4.122, allocations: 0 / 1.72 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/4.123, allocations: 184.5 kB / 1.72 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.621e-05/4.123, allocations: 6.875 kB / 1.72 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/4.123, allocations: 23.67 kB / 1.72 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/4.123, allocations: 3.812 kB / 1.72 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/4.123, allocations: 2.75 kB / 1.72 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/4.127, allocations: 1.88 MB / 1.722 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/4.129, allocations: 418.8 kB / 1.722 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005112/4.129, allocations: 23.98 kB / 1.722 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/4.131, allocations: 73.69 kB / 1.722 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/4.132, allocations: 63.08 kB / 1.722 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/4.132, allocations: 27.98 kB / 1.722 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002847/4.135, allocations: 1.232 MB / 1.724 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.92e-07/4.135, allocations: 0 / 1.724 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005571/4.14, allocations: 0.9615 MB / 1.725 GB, free: 192.7 MB / 0.8698 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 () * 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.002159/4.142, allocations: 0.4977 MB / 1.725 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008197/4.151, allocations: 2.317 MB / 1.727 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/4.151, allocations: 3 kB / 1.727 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/4.152, allocations: 0.504 MB / 1.728 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009847/4.162, allocations: 0.8356 MB / 1.729 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/4.174, allocations: 3.061 MB / 1.732 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002574/4.177, allocations: 1.69 MB / 1.733 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.009571/4.186, allocations: 1.272 MB / 1.734 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000691/4.187, allocations: 103.4 kB / 1.735 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/4.187, allocations: 0 / 1.735 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.09288/4.28, allocations: 36.79 MB / 1.77 GB, free: 146.5 MB / 0.8698 GB