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 2.516/2.516, allocations: 287.9 MB / 302.9 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 172.2 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 0.6301 GB, free: 10.3 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.001009, allocations: 96.36 kB / 0.7434 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004944, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1532, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02454/0.1778, allocations: 23.99 MB / 1.002 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.189, allocations: 6.82 MB / 1.009 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1901, allocations: 27.81 kB / 1.009 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.1914, allocations: 390 kB / 1.009 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.1949, allocations: 0.9997 MB / 1.01 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.1993, allocations: 1.086 MB / 1.011 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004677/0.204, allocations: 2.704 MB / 1.014 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.2067, allocations: 1.605 MB / 1.015 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.2091, allocations: 1.168 MB / 1.017 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.2107, allocations: 0.9295 MB / 1.018 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.2109, allocations: 80 kB / 1.018 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.2134, allocations: 0.8581 MB / 1.018 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.214, allocations: 342.7 kB / 1.019 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007002/0.2147, allocations: 420.7 kB / 1.019 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004031/0.2187, allocations: 2.755 MB / 1.022 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.56e-06/0.2188, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.689e-06/0.2188, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.235e-05/0.2188, allocations: 0 / 1.022 GB, free: 15.89 MB / 0.6511 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.005144/0.224, allocations: 2.13 MB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.224, allocations: 12.03 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.2251, allocations: 233.5 kB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/0.2289, allocations: 1.601 MB / 1.026 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.2291, allocations: 110.7 kB / 1.026 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.2295, allocations: 159.9 kB / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004636/0.2341, allocations: 1.97 MB / 1.028 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/0.2342, allocations: 7.844 kB / 1.028 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.2344, allocations: 60 kB / 1.028 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/0.2345, allocations: 43.94 kB / 1.028 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004115/0.2386, allocations: 1.782 MB / 1.03 GB, free: 7.605 MB / 0.6511 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.0164/0.2551, allocations: 7.691 MB / 1.037 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.2581, allocations: 1.467 MB / 1.039 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008878/0.267, allocations: 3.87 MB / 1.043 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.2671, allocations: 47.55 kB / 1.043 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.374e-06/0.2671, allocations: 0 / 1.043 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.003622/0.2707, allocations: 1.502 MB / 1.044 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.2708, allocations: 64.34 kB / 1.044 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.2741, allocations: 1.667 MB / 1.046 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.2743, allocations: 49.7 kB / 1.046 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009146/0.2752, allocations: 0.7535 MB / 1.046 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/0.2757, allocations: 307.5 kB / 1.047 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.987e-05/0.2758, allocations: 28 kB / 1.047 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002683/0.2761, allocations: 365.9 kB / 1.047 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.2776, allocations: 0.6792 MB / 1.048 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.2795, allocations: 1.005 MB / 1.049 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.2814, allocations: 0.8768 MB / 1.05 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.2814, allocations: 0 / 1.05 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004481/0.2859, allocations: 1.936 MB / 1.052 GB, free: 472 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001996/0.288, allocations: 3.519 MB / 1.055 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/0.288, allocations: 8 kB / 1.055 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/0.2881, allocations: 19.98 kB / 1.055 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.29, allocations: 347.5 kB / 1.055 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.715e-05/0.29, allocations: 23.92 kB / 1.055 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.2918, allocations: 229.9 kB / 1.056 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.292, allocations: 55.98 kB / 1.056 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.292, allocations: 4 kB / 1.056 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003989/0.296, allocations: 1.792 MB / 1.057 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.2961, allocations: 8.188 kB / 1.057 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.2961, allocations: 23.95 kB / 1.057 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.2978, allocations: 343.5 kB / 1.058 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-05/0.2979, allocations: 23.92 kB / 1.058 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.2994, allocations: 186.5 kB / 1.058 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.2996, allocations: 63.98 kB / 1.058 GB, free: 9.602 MB / 0.6823 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.001493/0.3011, allocations: 0.7502 MB / 1.059 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004779/0.3016, allocations: 150.1 kB / 1.059 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.3045, allocations: 1.287 MB / 1.06 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/0.3046, allocations: 8 kB / 1.06 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.697e-06/0.3046, allocations: 0 / 1.06 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00225/0.3068, allocations: 1.277 MB / 1.061 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006404/0.3133, allocations: 2.97 MB / 1.064 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.999e-06/0.3133, allocations: 0 / 1.064 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.3144, allocations: 179.7 kB / 1.064 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.685e-05/0.3144, allocations: 4 kB / 1.064 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.644e-05/0.3145, allocations: 27.92 kB / 1.064 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.866e-06/0.3146, allocations: 4 kB / 1.065 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.3146, allocations: 4.125 kB / 1.065 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/0.3185, allocations: 1.971 MB / 1.066 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.3197, allocations: 442.7 kB / 1.067 GB, free: 268 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/0.32, allocations: 20 kB / 1.067 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.3211, allocations: 81.34 kB / 1.067 GB, free: 168 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.3213, allocations: 52.92 kB / 1.067 GB, free: 112 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.3214, allocations: 39.91 kB / 1.067 GB, free: 72 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.5022/0.8236, allocations: 1.242 MB / 1.068 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.159e-06/0.8236, allocations: 0 / 1.068 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003283/0.8269, allocations: 0.9173 MB / 1.069 GB, free: 87.21 MB / 0.6823 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.0009217/0.8279, allocations: 349.6 kB / 1.069 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005004/0.8329, allocations: 2.309 MB / 1.072 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.817e-06/0.833, allocations: 1.062 kB / 1.072 GB, free: 86.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.8341, allocations: 0.5218 MB / 1.072 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004873/0.839, allocations: 0.8456 MB / 1.073 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008081/0.8471, allocations: 4.322 MB / 1.077 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.849, allocations: 1.696 MB / 1.079 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004112/0.8532, allocations: 0.9243 MB / 1.08 GB, free: 83.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006358/0.8538, allocations: 138.3 kB / 1.08 GB, free: 83.15 MB / 0.6823 GB Notification: Performance of SimCode: time 1.682e-06/0.8538, allocations: 0 / 1.08 GB, free: 83.15 MB / 0.6823 GB Notification: Performance of Templates: time 0.07388/0.9277, allocations: 33.56 MB / 1.113 GB, free: 69.8 MB / 0.6823 GB