Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.225/2.225, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 178.4 kB / 326.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.345/2.345, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008929/0.0008927, allocations: 85.17 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000652/0.0006524, allocations: 11.69 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2267, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.279/1.506, allocations: 403.7 MB / 1.294 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/1.506, allocations: 97.52 kB / 1.294 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 14.5/16.01, allocations: 2.834 GB / 4.128 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.447e-06/16.01, allocations: 0 / 4.128 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.002467/16.01, allocations: 259.8 kB / 4.128 GB, free: 13.71 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.0444/16.06, allocations: 9.813 MB / 4.137 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/16.06, allocations: 8.031 kB / 4.137 GB, free: 3.781 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008474/16.06, allocations: 1.164 MB / 4.139 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.462/17.53, allocations: 10.17 MB / 4.149 GB, free: 94.1 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009436/17.53, allocations: 0.6135 MB / 4.149 GB, free: 94.08 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004442/17.53, allocations: 0.8211 MB / 4.15 GB, free: 94.08 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0543/17.59, allocations: 11.65 MB / 4.161 GB, free: 92.9 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008433/17.59, allocations: 22.42 kB / 4.161 GB, free: 92.9 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004902/17.59, allocations: 356.7 kB / 4.162 GB, free: 92.9 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005064/17.59, allocations: 252.3 kB / 4.162 GB, free: 92.9 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03548/17.63, allocations: 9.653 MB / 4.171 GB, free: 92.84 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.1209/17.75, allocations: 45.8 MB / 4.216 GB, free: 74.32 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/17.77, allocations: 6.243 MB / 4.222 GB, free: 74.04 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01992/17.79, allocations: 5.513 MB / 4.228 GB, free: 73.94 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002766/17.79, allocations: 0.8197 MB / 4.228 GB, free: 73.18 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01477/17.81, allocations: 3.358 MB / 4.232 GB, free: 73.02 MB / 0.9012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008926/17.82, allocations: 0.5127 MB / 4.232 GB, free: 72.87 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=455): time 2.555e-05/17.82, allocations: 0 / 4.232 GB, free: 72.87 MB / 0.9012 GB Notification: Performance of matching and sorting (n=455): time 0.04017/17.86, allocations: 8.858 MB / 4.241 GB, free: 72.3 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/17.86, allocations: 162.1 kB / 4.241 GB, free: 72.18 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02694/17.89, allocations: 7.263 MB / 4.248 GB, free: 71.73 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 0.001801/17.89, allocations: 112.5 kB / 4.248 GB, free: 71.7 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.008846/17.9, allocations: 4.266 MB / 4.252 GB, free: 70.09 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 0.004353/17.9, allocations: 1.578 MB / 4.254 GB, free: 69.1 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001818/17.9, allocations: 124.2 kB / 4.254 GB, free: 69.1 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.000868/17.9, allocations: 0.5401 MB / 4.254 GB, free: 68.79 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009503/17.91, allocations: 2.987 MB / 4.257 GB, free: 68.77 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/17.92, allocations: 4.858 MB / 4.262 GB, free: 66.6 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/17.93, allocations: 4.017 MB / 4.266 GB, free: 66.49 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.603e-05/17.93, allocations: 22.19 kB / 4.266 GB, free: 66.49 MB / 0.9012 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02715/17.96, allocations: 8.835 MB / 4.275 GB, free: 65.95 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 0.001449/17.96, allocations: 1.872 MB / 4.277 GB, free: 63.73 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/17.96, allocations: 61.72 kB / 4.277 GB, free: 63.72 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/17.96, allocations: 88.25 kB / 4.277 GB, free: 63.72 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/17.97, allocations: 1.383 MB / 4.278 GB, free: 63.72 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000194/17.97, allocations: 121.1 kB / 4.278 GB, free: 63.72 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01239/17.99, allocations: 0.6075 MB / 4.279 GB, free: 63.66 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/17.99, allocations: 286.8 kB / 4.279 GB, free: 63.66 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/17.99, allocations: 3.938 kB / 4.279 GB, free: 63.66 MB / 0.9012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02357/18.01, allocations: 8.253 MB / 4.287 GB, free: 63.51 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/18.01, allocations: 65.11 kB / 4.287 GB, free: 63.51 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/18.01, allocations: 88.69 kB / 4.287 GB, free: 63.51 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01096/18.02, allocations: 1.379 MB / 4.289 GB, free: 63.51 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001876/18.02, allocations: 126.3 kB / 4.289 GB, free: 63.51 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01179/18.04, allocations: 0.5919 MB / 4.289 GB, free: 63.46 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/18.04, allocations: 282.5 kB / 4.29 GB, free: 63.46 MB / 0.9012 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.01065/18.05, allocations: 3.551 MB / 4.293 GB, free: 63.17 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003285/18.05, allocations: 0.7025 MB / 4.294 GB, free: 62.81 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02248/18.07, allocations: 7.131 MB / 4.301 GB, free: 62.51 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-05/18.07, allocations: 44.16 kB / 4.301 GB, free: 62.51 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/18.07, allocations: 8.375 kB / 4.301 GB, free: 62.51 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01688/18.09, allocations: 5.829 MB / 4.306 GB, free: 62.29 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 postOpt removeSimpleEquations (simulation): time 0.05566/18.15, allocations: 16.47 MB / 4.322 GB, free: 61.17 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/18.15, allocations: 3.781 kB / 4.322 GB, free: 61.17 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009123/18.16, allocations: 0.9595 MB / 4.323 GB, free: 61.17 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.051e-05/18.16, allocations: 17.88 kB / 4.323 GB, free: 61.17 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001298/18.16, allocations: 121.1 kB / 4.324 GB, free: 61.17 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.662e-05/18.16, allocations: 19.06 kB / 4.324 GB, free: 61.17 MB / 0.9012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/18.16, allocations: 0 / 4.324 GB, free: 61.17 MB / 0.9012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02913/18.19, allocations: 10.58 MB / 4.334 GB, free: 57.03 MB / 0.9012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00747/18.19, allocations: 1.635 MB / 4.335 GB, free: 56.16 MB / 0.9012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003401/18.2, allocations: 98.42 kB / 4.336 GB, free: 56.1 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01128/18.21, allocations: 0.5954 MB / 4.336 GB, free: 56.01 MB / 0.9012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/18.21, allocations: 253.7 kB / 4.336 GB, free: 55.97 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001276/18.21, allocations: 185 kB / 4.337 GB, free: 55.94 MB / 0.9012 GB Notification: Performance of sorting global known variables: time 0.01411/18.23, allocations: 5.068 MB / 4.342 GB, free: 54.25 MB / 0.9012 GB Notification: Performance of sort global known variables: time 9.21e-07/18.23, allocations: 0 / 4.342 GB, free: 54.25 MB / 0.9012 GB Notification: Performance of remove unused functions: time 0.02372/18.25, allocations: 4.865 MB / 4.346 GB, free: 53.28 MB / 0.9012 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.003593/18.25, allocations: 0.907 MB / 4.347 GB, free: 53.05 MB / 0.9012 GB Notification: Performance of simCode: created initialization part: time 0.02994/18.28, allocations: 11.43 MB / 4.358 GB, free: 49.31 MB / 0.9012 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/18.28, allocations: 7.156 kB / 4.358 GB, free: 49.31 MB / 0.9012 GB Notification: Performance of simCode: created simulation system equations: time 0.008579/18.29, allocations: 3.185 MB / 4.361 GB, free: 48.11 MB / 0.9012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0398/18.33, allocations: 4.478 MB / 4.366 GB, free: 47.34 MB / 0.9012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05673/18.39, allocations: 22.67 MB / 4.388 GB, free: 36.85 MB / 0.9012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01508/18.4, allocations: 6.092 MB / 4.394 GB, free: 49.7 MB / 0.9168 GB Notification: Performance of simCode: alias equations: time 0.02512/18.43, allocations: 4.205 MB / 4.398 GB, free: 46.91 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004587/18.43, allocations: 0.615 MB / 4.399 GB, free: 46.35 MB / 0.9168 GB Notification: Performance of SimCode: time 1.613e-06/18.43, allocations: 4 kB / 4.399 GB, free: 46.34 MB / 0.9168 GB Notification: Performance of Templates: time 1.175/19.61, allocations: 156.9 MB / 4.552 GB, free: 89.73 MB / 0.9324 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)