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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.57/2.57, allocations: 251.3 MB / 266.2 MB, free: 11.53 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.00138/0.00138, allocations: 175 kB / 325.8 MB, free: 2.781 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.467/2.467, allocations: 205.4 MB / 0.5767 GB, free: 21.12 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.0009913/0.0009906, allocations: 98.75 kB / 0.6813 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004903/0.0004906, allocations: 13.77 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.214, allocations: 106.3 MB / 0.899 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.08365/0.2977, allocations: 51.74 MB / 0.9496 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04657/0.3444, allocations: 16.26 MB / 0.9654 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004069/0.3485, allocations: 71.5 kB / 0.9655 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005957/0.3545, allocations: 0.695 MB / 0.9662 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.3674, allocations: 1.947 MB / 0.9681 GB, free: 11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00898/0.3764, allocations: 1.273 MB / 0.9693 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.05304/0.4294, allocations: 32.48 MB / 1.001 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.025/0.4545, allocations: 10.68 MB / 1.011 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01971/0.4743, allocations: 7.191 MB / 1.018 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02149/0.4958, allocations: 7.547 MB / 1.026 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.004379/0.5003, allocations: 468 kB / 1.026 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02007/0.5204, allocations: 1.338 MB / 1.028 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.03064/0.5511, allocations: 2.074 MB / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.008595/0.5598, allocations: 2.2 MB / 1.032 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.03772/0.5975, allocations: 14.26 MB / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.5976, allocations: 0 / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.617e-06/0.5977, allocations: 3.938 kB / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006666/0.5983, allocations: 0 / 1.046 GB, free: 11.23 MB / 0.698 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.04468/0.643, allocations: 9.494 MB / 1.055 GB, free: 1.625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6431, allocations: 8.031 kB / 1.055 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007044/0.6502, allocations: 1.164 MB / 1.056 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.287/1.937, allocations: 8.874 MB / 1.065 GB, free: 136.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009469/1.938, allocations: 0.6088 MB / 1.065 GB, free: 136.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003642/1.942, allocations: 0.8217 MB / 1.066 GB, free: 136.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04414/1.986, allocations: 12.33 MB / 1.078 GB, free: 132.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005375/1.987, allocations: 26.59 kB / 1.078 GB, free: 132.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002916/1.989, allocations: 355.2 kB / 1.079 GB, free: 131.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004265/1.99, allocations: 246.9 kB / 1.079 GB, free: 131.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03571/2.026, allocations: 10.38 MB / 1.089 GB, free: 126.5 MB / 0.698 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.09647/2.122, allocations: 48.39 MB / 1.136 GB, free: 77.12 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01459/2.137, allocations: 6.284 MB / 1.142 GB, free: 70.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01228/2.149, allocations: 5.092 MB / 1.147 GB, free: 65.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002102/2.151, allocations: 0.8426 MB / 1.148 GB, free: 64.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009632/2.161, allocations: 3.368 MB / 1.151 GB, free: 61.36 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00608/2.167, allocations: 0.4943 MB / 1.152 GB, free: 60.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=455): time 2.019e-05/2.167, allocations: 0 / 1.152 GB, free: 60.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=455): time 0.02636/2.194, allocations: 8.889 MB / 1.161 GB, free: 51.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/2.194, allocations: 166.2 kB / 1.161 GB, free: 51.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01675/2.211, allocations: 7.237 MB / 1.168 GB, free: 44.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001257/2.212, allocations: 109.7 kB / 1.168 GB, free: 44.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005746/2.218, allocations: 4.27 MB / 1.172 GB, free: 40.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002804/2.22, allocations: 1.582 MB / 1.174 GB, free: 38.57 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006596/2.221, allocations: 120 kB / 1.174 GB, free: 38.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004323/2.222, allocations: 0.5382 MB / 1.174 GB, free: 37.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008015/2.23, allocations: 3.009 MB / 1.177 GB, free: 34.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009594/2.239, allocations: 4.867 MB / 1.182 GB, free: 29.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/2.25, allocations: 4.042 MB / 1.186 GB, free: 25.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.905e-05/2.25, allocations: 16 kB / 1.186 GB, free: 25.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02555/2.275, allocations: 8.855 MB / 1.195 GB, free: 16.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001361/2.277, allocations: 1.871 MB / 1.196 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/2.277, allocations: 67.83 kB / 1.196 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/2.277, allocations: 91.94 kB / 1.197 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/2.288, allocations: 1.365 MB / 1.198 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001954/2.288, allocations: 123.6 kB / 1.198 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/2.299, allocations: 0.6154 MB / 1.199 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/2.301, allocations: 280 kB / 1.199 GB, free: 11.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/2.301, allocations: 4 kB / 1.199 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02241/2.323, allocations: 8.272 MB / 1.207 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/2.323, allocations: 56 kB / 1.207 GB, free: 2.684 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/2.324, allocations: 88 kB / 1.207 GB, free: 2.598 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/2.334, allocations: 1.369 MB / 1.208 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001866/2.334, allocations: 123.6 kB / 1.209 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/2.345, allocations: 0.6 MB / 1.209 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/2.347, allocations: 276 kB / 1.209 GB, free: 240 kB / 0.698 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.01092/2.358, allocations: 3.551 MB / 1.213 GB, free: 12.66 MB / 0.7137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003191/2.361, allocations: 0.7102 MB / 1.214 GB, free: 11.94 MB / 0.7137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02406/2.385, allocations: 7.153 MB / 1.221 GB, free: 4.75 MB / 0.7137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-05/2.385, allocations: 40 kB / 1.221 GB, free: 4.711 MB / 0.7137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/2.385, allocations: 0 / 1.221 GB, free: 4.711 MB / 0.7137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01735/2.403, allocations: 5.848 MB / 1.226 GB, free: 14.83 MB / 0.7293 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.05739/2.46, allocations: 16.49 MB / 1.242 GB, free: 14.28 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/2.46, allocations: 0 / 1.242 GB, free: 14.28 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009909/2.47, allocations: 0.9558 MB / 1.243 GB, free: 13.32 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.148e-05/2.47, allocations: 23.88 kB / 1.243 GB, free: 13.3 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009421/2.471, allocations: 119.9 kB / 1.243 GB, free: 13.18 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.369e-05/2.471, allocations: 16 kB / 1.244 GB, free: 13.16 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.471, allocations: 0 / 1.244 GB, free: 13.16 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03045/2.502, allocations: 10.59 MB / 1.254 GB, free: 2.512 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007503/2.509, allocations: 1.644 MB / 1.255 GB, free: 0.8398 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002737/2.512, allocations: 103.9 kB / 1.256 GB, free: 0.7383 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01151/2.524, allocations: 0.6252 MB / 1.256 GB, free: 116 kB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001337/2.525, allocations: 267.1 kB / 1.256 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008481/2.526, allocations: 175.9 kB / 1.257 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01436/2.54, allocations: 5.054 MB / 1.262 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.42e-07/2.54, allocations: 0 / 1.262 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.02185/2.562, allocations: 4.793 MB / 1.266 GB, free: 5.871 MB / 0.7605 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.002657/2.565, allocations: 0.5571 MB / 1.267 GB, free: 5.359 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.03149/2.596, allocations: 11.47 MB / 1.278 GB, free: 9.863 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/2.596, allocations: 4 kB / 1.278 GB, free: 9.859 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.008798/2.605, allocations: 3.212 MB / 1.281 GB, free: 6.625 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03953/2.645, allocations: 4.472 MB / 1.285 GB, free: 2.219 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06115/2.706, allocations: 22.69 MB / 1.308 GB, free: 11.46 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01442/2.72, allocations: 6.089 MB / 1.314 GB, free: 5.336 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.02541/2.746, allocations: 4.168 MB / 1.318 GB, free: 1.156 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004866/2.751, allocations: 0.6047 MB / 1.318 GB, free: 0.5508 MB / 0.8074 GB Notification: Performance of SimCode: time 1.483e-06/2.751, allocations: 4 kB / 1.318 GB, free: 0.5469 MB / 0.8074 GB Notification: Performance of Templates: time 1.097/3.848, allocations: 152.7 MB / 1.467 GB, free: 228.4 MB / 0.8699 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.pipe 2>&1)