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.404/2.404, allocations: 253.2 MB / 260.6 MB, free: 7.535 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.00146/0.001459, allocations: 174.8 kB / 319.9 MB, free: 3.043 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.11/2.11, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001142/0.001142, allocations: 102.2 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.176e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2003, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.878/2.079, allocations: 403.9 MB / 1.283 GB, free: 259 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/2.079, allocations: 86.78 kB / 1.283 GB, free: 259 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.36/17.44, allocations: 2.83 GB / 4.114 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.986e-06/17.44, allocations: 0 / 4.114 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001889/17.45, allocations: 256.2 kB / 4.114 GB, free: 131.4 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.03546/17.48, allocations: 8.283 MB / 4.122 GB, free: 128.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/17.48, allocations: 6.906 kB / 4.122 GB, free: 128.3 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00853/17.49, allocations: 1.158 MB / 4.123 GB, free: 127.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03889/17.53, allocations: 10.72 MB / 4.133 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006145/17.53, allocations: 267.2 kB / 4.134 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003894/17.53, allocations: 490.4 kB / 4.134 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02952/17.56, allocations: 8.925 MB / 4.143 GB, free: 126.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03907/17.6, allocations: 10.24 MB / 4.153 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006436/17.6, allocations: 28.97 kB / 4.153 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003627/17.61, allocations: 19.06 kB / 4.153 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003518/17.61, allocations: 244.5 kB / 4.153 GB, free: 125.5 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.0997/17.71, allocations: 44.48 MB / 4.197 GB, free: 98.33 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01407/17.72, allocations: 6.047 MB / 4.203 GB, free: 95.93 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01078/17.73, allocations: 4.669 MB / 4.207 GB, free: 94.34 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/17.73, allocations: 0.8258 MB / 4.208 GB, free: 93.56 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008957/17.74, allocations: 3.124 MB / 4.211 GB, free: 92.44 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006154/17.75, allocations: 406.2 kB / 4.211 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=455): time 3.516e-05/17.75, allocations: 0 / 4.211 GB, free: 92.09 MB / 0.9011 GB Notification: Performance of matching and sorting (n=455): time 0.01984/17.77, allocations: 6.162 MB / 4.217 GB, free: 86.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/17.77, allocations: 162.3 kB / 4.218 GB, free: 86.62 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/17.78, allocations: 5.814 MB / 4.223 GB, free: 81.61 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001447/17.79, allocations: 33.7 kB / 4.223 GB, free: 81.57 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.006363/17.79, allocations: 4.266 MB / 4.227 GB, free: 77.71 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003185/17.8, allocations: 1.516 MB / 4.229 GB, free: 76.31 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009639/17.8, allocations: 4 kB / 4.229 GB, free: 76.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0005543/17.8, allocations: 0.5431 MB / 4.229 GB, free: 75.82 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007197/17.8, allocations: 2.801 MB / 4.232 GB, free: 73.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008945/17.81, allocations: 4.611 MB / 4.237 GB, free: 68.43 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/17.83, allocations: 4.093 MB / 4.241 GB, free: 64.56 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.997e-05/17.83, allocations: 16 kB / 4.241 GB, free: 64.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02628/17.85, allocations: 8.28 MB / 4.249 GB, free: 56.25 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.005857/17.86, allocations: 27.52 MB / 4.276 GB, free: 26.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002055/17.86, allocations: 56 kB / 4.276 GB, free: 26.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/17.86, allocations: 99.95 kB / 4.276 GB, free: 26.53 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01171/17.87, allocations: 1.451 MB / 4.277 GB, free: 25.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001593/17.87, allocations: 123.6 kB / 4.277 GB, free: 24.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01267/17.88, allocations: 0.51 MB / 4.278 GB, free: 24.44 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002072/17.88, allocations: 282.4 kB / 4.278 GB, free: 24.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/17.88, allocations: 4.781 kB / 4.278 GB, free: 24.16 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02343/17.91, allocations: 7.649 MB / 4.286 GB, free: 16.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/17.91, allocations: 56 kB / 4.286 GB, free: 16.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001216/17.91, allocations: 100.1 kB / 4.286 GB, free: 16.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0116/17.92, allocations: 1.447 MB / 4.287 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001518/17.92, allocations: 123.6 kB / 4.287 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/17.93, allocations: 494.5 kB / 4.288 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001877/17.93, allocations: 281.3 kB / 4.288 GB, free: 14.04 MB / 0.9011 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.0029/17.94, allocations: 365.7 kB / 4.288 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003177/17.94, allocations: 0.6251 MB / 4.289 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02435/17.96, allocations: 6.826 MB / 4.296 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.344e-05/17.96, allocations: 40 kB / 4.296 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/17.96, allocations: 3.938 kB / 4.296 GB, free: 6.156 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0168/17.98, allocations: 5.714 MB / 4.301 GB, free: 432 kB / 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 postOpt removeSimpleEquations (simulation): time 0.7869/18.77, allocations: 15.37 MB / 4.316 GB, free: 131 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/18.77, allocations: 0.9688 kB / 4.316 GB, free: 131 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009726/18.78, allocations: 0.9212 MB / 4.317 GB, free: 131 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/18.78, allocations: 15.62 kB / 4.317 GB, free: 131 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001434/18.78, allocations: 66.59 kB / 4.317 GB, free: 131 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.819e-05/18.78, allocations: 16.42 kB / 4.317 GB, free: 131 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/18.78, allocations: 0.625 kB / 4.317 GB, free: 131 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03271/18.81, allocations: 10.39 MB / 4.327 GB, free: 130.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008365/18.82, allocations: 1.637 MB / 4.329 GB, free: 130.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003672/18.82, allocations: 28.23 kB / 4.329 GB, free: 130.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01234/18.84, allocations: 499.5 kB / 4.329 GB, free: 130.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001678/18.84, allocations: 255.9 kB / 4.33 GB, free: 130.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00164/18.84, allocations: 188.4 kB / 4.33 GB, free: 130.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01434/18.85, allocations: 4.436 MB / 4.334 GB, free: 130.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.002e-06/18.85, allocations: 0 / 4.334 GB, free: 130.1 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.02658/18.88, allocations: 4.768 MB / 4.339 GB, free: 129.7 MB / 0.9011 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.003706/18.89, allocations: 0.8512 MB / 4.34 GB, free: 129.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02636/18.91, allocations: 10.91 MB / 4.35 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/18.91, allocations: 3.438 kB / 4.35 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.007512/18.92, allocations: 3.05 MB / 4.353 GB, free: 129.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02978/18.95, allocations: 3.479 MB / 4.357 GB, free: 129 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04851/19, allocations: 16.26 MB / 4.373 GB, free: 126.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01268/19.01, allocations: 6.271 MB / 4.379 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.03319/19.04, allocations: 5.801 MB / 4.384 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004461/19.05, allocations: 470.7 kB / 4.385 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of SimCode: time 2.294e-06/19.05, allocations: 0 / 4.385 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of Templates: time 0.3494/19.4, allocations: 128.9 MB / 4.511 GB, free: 91.44 MB / 0.9011 GB