Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.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.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.311/2.311, allocations: 252.6 MB / 265.2 MB, free: 5.672 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.001463/0.001463, allocations: 177.6 kB / 324.5 MB, free: 14.45 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 2.068/2.068, allocations: 205.4 MB / 0.5754 GB, free: 10.55 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.001134/0.001134, allocations: 90.64 kB / 0.6797 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.84e-05, allocations: 4 kB / 0.7911 GB, free: 96.66 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1932, allocations: 106.2 MB / 0.8949 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.921/2.114, allocations: 403.6 MB / 1.289 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/2.115, allocations: 91.45 kB / 1.289 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 15.27/17.39, allocations: 2.845 GB / 4.134 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.316e-06/17.39, allocations: 3.688 kB / 4.134 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001943/17.39, allocations: 251.3 kB / 4.134 GB, free: 116.7 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.03616/17.43, allocations: 8.279 MB / 4.143 GB, free: 113.5 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/17.43, allocations: 11.44 kB / 4.143 GB, free: 113.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008659/17.44, allocations: 1.161 MB / 4.144 GB, free: 113 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03857/17.47, allocations: 10.71 MB / 4.154 GB, free: 109.8 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000956/17.47, allocations: 0.6153 MB / 4.155 GB, free: 109.5 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004199/17.48, allocations: 0.8202 MB / 4.156 GB, free: 109.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04161/17.52, allocations: 11.44 MB / 4.167 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005853/17.52, allocations: 27.28 kB / 4.167 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003641/17.52, allocations: 351.1 kB / 4.167 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003054/17.53, allocations: 251.4 kB / 4.167 GB, free: 103.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03163/17.56, allocations: 9.458 MB / 4.177 GB, free: 97.51 MB / 0.9011 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.1053/17.66, allocations: 46.11 MB / 4.222 GB, free: 49.82 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/17.68, allocations: 6.286 MB / 4.228 GB, free: 43.54 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01184/17.69, allocations: 5.428 MB / 4.233 GB, free: 38.11 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001871/17.69, allocations: 0.8181 MB / 4.234 GB, free: 37.16 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008989/17.7, allocations: 3.277 MB / 4.237 GB, free: 33.85 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006153/17.71, allocations: 0.5564 MB / 4.238 GB, free: 33.29 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=455): time 1.729e-05/17.71, allocations: 3.422 kB / 4.238 GB, free: 33.29 MB / 0.9011 GB Notification: Performance of matching and sorting (n=455): time 0.01739/17.72, allocations: 6.229 MB / 4.244 GB, free: 27.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/17.72, allocations: 154.3 kB / 4.244 GB, free: 26.85 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01721/17.74, allocations: 7.018 MB / 4.251 GB, free: 19.85 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001358/17.74, allocations: 113.7 kB / 4.251 GB, free: 19.73 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005902/17.75, allocations: 4.264 MB / 4.255 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002864/17.75, allocations: 1.584 MB / 4.256 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006875/17.75, allocations: 116 kB / 4.257 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000448/17.75, allocations: 0.5421 MB / 4.257 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00723/17.76, allocations: 2.908 MB / 4.26 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009044/17.77, allocations: 4.768 MB / 4.265 GB, free: 4.707 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009475/17.78, allocations: 3.968 MB / 4.268 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.914e-05/17.78, allocations: 16 kB / 4.269 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02771/17.81, allocations: 8.692 MB / 4.277 GB, free: 7.988 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.7767/18.58, allocations: 28.64 MB / 4.305 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/18.58, allocations: 56.31 kB / 4.305 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002355/18.58, allocations: 99.56 kB / 4.305 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01239/18.6, allocations: 1.451 MB / 4.307 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002644/18.6, allocations: 122.9 kB / 4.307 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/18.61, allocations: 0.626 MB / 4.307 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/18.61, allocations: 284.1 kB / 4.308 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/18.61, allocations: 3.188 kB / 4.308 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02677/18.64, allocations: 8.104 MB / 4.315 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002459/18.64, allocations: 57.09 kB / 4.315 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/18.64, allocations: 96.22 kB / 4.316 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01252/18.65, allocations: 1.452 MB / 4.317 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002375/18.65, allocations: 125.6 kB / 4.317 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/18.67, allocations: 0.5955 MB / 4.318 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/18.67, allocations: 285.8 kB / 4.318 GB, free: 114.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 746 * Array equations: 0 * Algorithm blocks: 2 * 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.00295/18.67, allocations: 0.5394 MB / 4.319 GB, free: 113.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003017/18.67, allocations: 0.7027 MB / 4.319 GB, free: 113.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03681/18.71, allocations: 7.009 MB / 4.326 GB, free: 113.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-05/18.71, allocations: 43.39 kB / 4.326 GB, free: 113.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-05/18.71, allocations: 0 / 4.326 GB, free: 113.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02921/18.74, allocations: 5.704 MB / 4.332 GB, free: 113.4 MB / 0.9167 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 postOpt removeSimpleEquations (simulation): time 0.07529/18.81, allocations: 16.45 MB / 4.348 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/18.81, allocations: 2.781 kB / 4.348 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00917/18.82, allocations: 0.9251 MB / 4.349 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-05/18.82, allocations: 15.06 kB / 4.349 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001376/18.83, allocations: 125.7 kB / 4.349 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.078e-05/18.83, allocations: 18.67 kB / 4.349 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/18.83, allocations: 3.5 kB / 4.349 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02866/18.85, allocations: 10.59 MB / 4.359 GB, free: 111.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008252/18.86, allocations: 1.719 MB / 4.361 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00382/18.87, allocations: 100.2 kB / 4.361 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.012/18.88, allocations: 0.5674 MB / 4.361 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001507/18.88, allocations: 256.6 kB / 4.362 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00103/18.88, allocations: 186.5 kB / 4.362 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01538/18.9, allocations: 5.463 MB / 4.367 GB, free: 110.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.81e-07/18.9, allocations: 2.031 kB / 4.367 GB, free: 110.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02455/18.92, allocations: 4.919 MB / 4.372 GB, free: 110.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 447 * Array equations: 0 * Algorithm blocks: 2 * 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.003589/18.92, allocations: 0.9232 MB / 4.373 GB, free: 110.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02924/18.95, allocations: 11.47 MB / 4.384 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/18.95, allocations: 0 / 4.384 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008412/18.96, allocations: 3.141 MB / 4.387 GB, free: 110 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03752/19, allocations: 4.373 MB / 4.391 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07038/19.07, allocations: 16.75 MB / 4.408 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01991/19.09, allocations: 6.269 MB / 4.414 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.05303/19.14, allocations: 6.571 MB / 4.42 GB, free: 106 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00579/19.15, allocations: 0.4895 MB / 4.421 GB, free: 106 MB / 0.9167 GB Notification: Performance of SimCode: time 2.104e-06/19.15, allocations: 0 / 4.421 GB, free: 106 MB / 0.9167 GB Notification: Performance of Templates: time 0.4422/19.59, allocations: 163.1 MB / 4.58 GB, free: 23.14 MB / 0.9167 GB