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.265/2.265, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001463/0.001463, allocations: 171.4 kB / 325.6 MB, free: 2.859 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.4/2.4, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001236/0.001236, allocations: 84.28 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004564, allocations: 11.72 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2119, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.468, allocations: 403.7 MB / 1.293 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/1.468, allocations: 89.02 kB / 1.293 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 16.39/17.86, allocations: 2.852 GB / 4.145 GB, free: 94.57 MB / 0.9012 GB Notification: Performance of FrontEnd: time 3.467e-06/17.86, allocations: 0 / 4.145 GB, free: 94.57 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 0.001786/17.86, allocations: 255.3 kB / 4.146 GB, free: 94.54 MB / 0.9012 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.0485/17.91, allocations: 9.82 MB / 4.155 GB, free: 91.47 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/17.91, allocations: 12.67 kB / 4.155 GB, free: 91.47 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009875/17.92, allocations: 1.164 MB / 4.156 GB, free: 90.92 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04021/17.96, allocations: 10.76 MB / 4.167 GB, free: 89.84 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/17.96, allocations: 0.6141 MB / 4.167 GB, free: 89.82 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004364/17.96, allocations: 0.8256 MB / 4.168 GB, free: 89.81 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04427/18.01, allocations: 11.57 MB / 4.18 GB, free: 88.63 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006039/18.01, allocations: 19.66 kB / 4.18 GB, free: 88.63 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003654/18.01, allocations: 360 kB / 4.18 GB, free: 88.63 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003138/18.01, allocations: 245.3 kB / 4.18 GB, free: 88.63 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03213/18.04, allocations: 9.65 MB / 4.19 GB, free: 88.57 MB / 0.9012 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.1009/18.15, allocations: 46.12 MB / 4.235 GB, free: 69.57 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02039/18.17, allocations: 6.367 MB / 4.241 GB, free: 69.3 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00225/18.17, allocations: 0.8201 MB / 4.242 GB, free: 68.55 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01229/18.18, allocations: 3.358 MB / 4.245 GB, free: 68.38 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007734/18.19, allocations: 0.5579 MB / 4.245 GB, free: 68.08 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=455): time 2.552e-05/18.19, allocations: 3.281 kB / 4.245 GB, free: 68.08 MB / 0.9012 GB Notification: Performance of matching and sorting (n=455): time 0.03556/18.22, allocations: 9.064 MB / 4.254 GB, free: 67.32 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/18.22, allocations: 153.7 kB / 4.254 GB, free: 67.19 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01832/18.24, allocations: 7.083 MB / 4.261 GB, free: 66.76 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.001434/18.24, allocations: 112.1 kB / 4.262 GB, free: 66.73 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00599/18.25, allocations: 4.267 MB / 4.266 GB, free: 65.12 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002981/18.25, allocations: 1.577 MB / 4.267 GB, free: 64.13 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007951/18.25, allocations: 121 kB / 4.267 GB, free: 64.13 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0004586/18.25, allocations: 0.5462 MB / 4.268 GB, free: 63.81 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007865/18.26, allocations: 2.998 MB / 4.271 GB, free: 63.8 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009681/18.27, allocations: 4.855 MB / 4.276 GB, free: 61.63 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/18.28, allocations: 4.035 MB / 4.279 GB, free: 61.52 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.561e-05/18.28, allocations: 15.25 kB / 4.279 GB, free: 61.52 MB / 0.9012 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02614/18.31, allocations: 8.872 MB / 4.288 GB, free: 60.98 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.008455/18.32, allocations: 28.65 MB / 4.316 GB, free: 47.25 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002388/18.32, allocations: 56.5 kB / 4.316 GB, free: 47.25 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/18.32, allocations: 96.84 kB / 4.316 GB, free: 47.25 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01148/18.33, allocations: 1.442 MB / 4.318 GB, free: 47.25 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001551/18.33, allocations: 126.2 kB / 4.318 GB, free: 47.25 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/18.34, allocations: 0.6357 MB / 4.318 GB, free: 47.19 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/18.34, allocations: 280 kB / 4.319 GB, free: 47.19 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/18.34, allocations: 3.906 kB / 4.319 GB, free: 47.19 MB / 0.9168 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02313/18.37, allocations: 8.301 MB / 4.327 GB, free: 47.04 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/18.37, allocations: 56.12 kB / 4.327 GB, free: 47.04 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/18.37, allocations: 97.06 kB / 4.327 GB, free: 47.04 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01128/18.38, allocations: 1.436 MB / 4.328 GB, free: 47.04 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001829/18.38, allocations: 129.3 kB / 4.328 GB, free: 47.04 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/18.39, allocations: 0.6046 MB / 4.329 GB, free: 46.98 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001791/18.39, allocations: 278.6 kB / 4.329 GB, free: 46.98 MB / 0.9168 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 () * Number of clocked 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.009879/18.4, allocations: 3.556 MB / 4.333 GB, free: 46.7 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002821/18.4, allocations: 0.7071 MB / 4.333 GB, free: 46.33 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02156/18.43, allocations: 7.159 MB / 4.34 GB, free: 46.04 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/18.43, allocations: 41.88 kB / 4.341 GB, free: 46.04 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/18.43, allocations: 0 / 4.341 GB, free: 46.04 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01635/18.44, allocations: 5.872 MB / 4.346 GB, free: 45.8 MB / 0.9168 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 postOpt removeSimpleEquations (simulation): time 0.05181/18.49, allocations: 16.37 MB / 4.362 GB, free: 44.81 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/18.49, allocations: 3.812 kB / 4.362 GB, free: 44.81 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008862/18.5, allocations: 0.913 MB / 4.363 GB, free: 44.81 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.897e-05/18.5, allocations: 16.66 kB / 4.363 GB, free: 44.81 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/18.5, allocations: 119 kB / 4.363 GB, free: 44.81 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.107e-05/18.5, allocations: 15.25 kB / 4.363 GB, free: 44.81 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/18.5, allocations: 11.11 kB / 4.363 GB, free: 44.81 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02953/18.53, allocations: 10.82 MB / 4.374 GB, free: 42.4 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008034/18.54, allocations: 1.727 MB / 4.376 GB, free: 41.5 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003597/18.55, allocations: 95.8 kB / 4.376 GB, free: 41.43 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01161/18.56, allocations: 0.5683 MB / 4.376 GB, free: 41.34 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001484/18.56, allocations: 254.4 kB / 4.376 GB, free: 41.31 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00104/18.56, allocations: 193.5 kB / 4.377 GB, free: 41.27 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.01495/18.58, allocations: 5.533 MB / 4.382 GB, free: 39.4 MB / 0.9168 GB Notification: Performance of sort global known variables: time 4.91e-07/18.58, allocations: 2.25 kB / 4.382 GB, free: 39.4 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.02507/18.6, allocations: 4.917 MB / 4.387 GB, free: 38.39 MB / 0.9168 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) * Number of clocked states: 0 () * 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.003783/18.6, allocations: 0.9203 MB / 4.388 GB, free: 38.12 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.03041/18.63, allocations: 11.51 MB / 4.399 GB, free: 34.41 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/18.63, allocations: 8.781 kB / 4.399 GB, free: 34.41 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.00866/18.64, allocations: 3.226 MB / 4.402 GB, free: 33.19 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03675/18.68, allocations: 4.379 MB / 4.406 GB, free: 32.48 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06778/18.75, allocations: 22.63 MB / 4.429 GB, free: 17.13 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02094/18.77, allocations: 6.258 MB / 4.435 GB, free: 12.48 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.03164/18.8, allocations: 4.325 MB / 4.439 GB, free: 9.637 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004339/18.81, allocations: 0.6115 MB / 4.439 GB, free: 9.078 MB / 0.9168 GB Notification: Performance of SimCode: time 1.423e-06/18.81, allocations: 4 kB / 4.439 GB, free: 9.074 MB / 0.9168 GB Notification: Performance of Templates: time 1.239/20.04, allocations: 158.6 MB / 4.594 GB, free: 106.6 MB / 0.9324 GB