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.815/4.815, allocations: 0.5623 GB / 0.5775 GB, free: 3.359 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002544/0.002544, allocations: 353.8 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.149/4.149, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001811/0.00181, allocations: 167.7 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007589/0.0007593, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2335, allocations: 115.3 MB / 1.461 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/1.538, allocations: 409.1 MB / 1.861 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/1.539, allocations: 105.1 kB / 1.861 GB, free: 13.38 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.761/4.3, allocations: 410.2 MB / 2.262 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.044e-06/4.3, allocations: 0 / 2.262 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002742/4.3, allocations: 51.66 kB / 2.262 GB, free: 238.1 MB / 0.9323 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.009051/4.309, allocations: 2.221 MB / 2.264 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/4.309, allocations: 9 kB / 2.264 GB, free: 237.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/4.311, allocations: 224.8 kB / 2.264 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006795/4.317, allocations: 1.995 MB / 2.266 GB, free: 237 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/4.318, allocations: 112 kB / 2.266 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005079/4.318, allocations: 159.5 kB / 2.266 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005186/4.323, allocations: 1.891 MB / 2.268 GB, free: 236.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.968e-05/4.323, allocations: 4.25 kB / 2.268 GB, free: 236.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/4.324, allocations: 65.27 kB / 2.268 GB, free: 236.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.169e-05/4.324, allocations: 36.41 kB / 2.268 GB, free: 236.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004791/4.329, allocations: 1.691 MB / 2.27 GB, free: 236.7 MB / 0.9323 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.01893/4.348, allocations: 7.463 MB / 2.277 GB, free: 234.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/4.351, allocations: 1.418 MB / 2.278 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/4.352, allocations: 0.6415 MB / 2.279 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/4.362, allocations: 3.797 MB / 2.283 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/4.363, allocations: 48.22 kB / 2.283 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=88): time 4.058e-06/4.363, allocations: 0 / 2.283 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=88): time 0.003717/4.366, allocations: 1.471 MB / 2.284 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/4.366, allocations: 61.34 kB / 2.284 GB, free: 232.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/4.369, allocations: 1.567 MB / 2.286 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003162/4.37, allocations: 49.8 kB / 2.286 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007329/4.37, allocations: 0.7456 MB / 2.287 GB, free: 231.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/4.371, allocations: 311.6 kB / 2.287 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/4.371, allocations: 29.44 kB / 2.287 GB, free: 231.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001375/4.371, allocations: 364.2 kB / 2.287 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/4.373, allocations: 0.6681 MB / 2.288 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/4.374, allocations: 1.017 MB / 2.289 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/4.376, allocations: 0.8559 MB / 2.29 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/4.376, allocations: 6.531 kB / 2.29 GB, free: 230.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00454/4.381, allocations: 1.915 MB / 2.292 GB, free: 230.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/4.381, allocations: 357.2 kB / 2.292 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/4.381, allocations: 10.09 kB / 2.292 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.798e-05/4.381, allocations: 19.36 kB / 2.292 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/4.384, allocations: 336.1 kB / 2.292 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.104e-05/4.384, allocations: 25.42 kB / 2.292 GB, free: 230.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/4.386, allocations: 215.7 kB / 2.293 GB, free: 230.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/4.386, allocations: 67.09 kB / 2.293 GB, free: 230.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/4.386, allocations: 7.719 kB / 2.293 GB, free: 230.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003938/4.39, allocations: 1.765 MB / 2.294 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/4.39, allocations: 11.28 kB / 2.294 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/4.39, allocations: 15 kB / 2.294 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/4.393, allocations: 335.6 kB / 2.295 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.803e-05/4.393, allocations: 20.62 kB / 2.295 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/4.395, allocations: 187.5 kB / 2.295 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/4.395, allocations: 60.83 kB / 2.295 GB, free: 230 MB / 0.9323 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.001534/4.397, allocations: 0.7484 MB / 2.296 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005568/4.397, allocations: 150.3 kB / 2.296 GB, free: 229.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002934/4.4, allocations: 1.251 MB / 2.297 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/4.4, allocations: 14.56 kB / 2.297 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/4.4, allocations: 0 / 2.297 GB, free: 229.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002008/4.402, allocations: 1.261 MB / 2.298 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006402/4.409, allocations: 2.879 MB / 2.301 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/4.409, allocations: 0 / 2.301 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/4.41, allocations: 190.1 kB / 2.301 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/4.41, allocations: 3.969 kB / 2.301 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/4.41, allocations: 24.83 kB / 2.301 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/4.41, allocations: 6.406 kB / 2.301 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/4.41, allocations: 3.812 kB / 2.301 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003771/4.414, allocations: 1.873 MB / 2.303 GB, free: 228.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/4.415, allocations: 415.4 kB / 2.304 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/4.416, allocations: 27.16 kB / 2.304 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/4.417, allocations: 68.75 kB / 2.304 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/4.418, allocations: 56.8 kB / 2.304 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/4.418, allocations: 37.62 kB / 2.304 GB, free: 228.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002382/4.42, allocations: 1.17 MB / 2.305 GB, free: 228.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.72e-07/4.42, allocations: 2.344 kB / 2.305 GB, free: 228.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003865/4.424, allocations: 0.9442 MB / 2.306 GB, free: 228 MB / 0.9323 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.001336/4.425, allocations: 493.6 kB / 2.306 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004989/4.43, allocations: 2.293 MB / 2.309 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.495e-06/4.43, allocations: 0 / 2.309 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/4.432, allocations: 0.5062 MB / 2.309 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006999/4.439, allocations: 0.8689 MB / 2.31 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/4.447, allocations: 4.305 MB / 2.314 GB, free: 226.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/4.448, allocations: 1.695 MB / 2.316 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.004403/4.453, allocations: 0.9068 MB / 2.317 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000713/4.454, allocations: 131.1 kB / 2.317 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of SimCode: time 1.643e-06/4.454, allocations: 0 / 2.317 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.07894/4.532, allocations: 34.19 MB / 2.35 GB, free: 224.3 MB / 0.9323 GB