Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5731/0.5731, allocations: 94.69 MB / 107.2 MB, free: 5.188 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001092/0.001092, allocations: 174 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.861/1.861, allocations: 170.5 MB / 324.5 MB, free: 3.996 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001699/0.001699, allocations: 112.5 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.91e-05, allocations: 4 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.462, allocations: 61.52 MB / 0.5054 GB, free: 49.56 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.786, allocations: 423.5 MB / 0.919 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004413/1.786, allocations: 90.73 kB / 0.919 GB, free: 180.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.067/4.853, allocations: 0.7423 GB / 1.661 GB, free: 44.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.355e-06/4.853, allocations: 0 / 1.661 GB, free: 44.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001423/4.854, allocations: 178.7 kB / 1.662 GB, free: 44.36 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1469 * Number of variables: 1469 Notification: Performance of Generate backend data structure: time 0.03579/4.89, allocations: 5.779 MB / 1.667 GB, free: 40.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/4.89, allocations: 11.59 kB / 1.667 GB, free: 40.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008098/4.898, allocations: 0.7942 MB / 1.668 GB, free: 40.37 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02439/4.923, allocations: 6.261 MB / 1.674 GB, free: 36.51 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008618/4.924, allocations: 433.6 kB / 1.674 GB, free: 36.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004034/4.928, allocations: 0.5806 MB / 1.675 GB, free: 36.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03322/4.961, allocations: 8.011 MB / 1.683 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000199/4.961, allocations: 7.938 kB / 1.683 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/4.963, allocations: 244 kB / 1.683 GB, free: 28.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-05/4.963, allocations: 140 kB / 1.683 GB, free: 28.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/4.98, allocations: 7.032 MB / 1.69 GB, free: 21.8 MB / 0.5417 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.07839/5.058, allocations: 31.96 MB / 1.721 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5731/5.631, allocations: 5.032 MB / 1.726 GB, free: 61.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007975/5.639, allocations: 3.9 MB / 1.73 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/5.641, allocations: 0.6425 MB / 1.731 GB, free: 60.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006746/5.647, allocations: 3.002 MB / 1.734 GB, free: 60.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004899/5.652, allocations: 0.5261 MB / 1.734 GB, free: 60.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=386): time 3.613e-05/5.652, allocations: 0 / 1.734 GB, free: 60.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=428): time 0.0497/5.702, allocations: 16.52 MB / 1.75 GB, free: 59.33 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001774/5.702, allocations: 332 kB / 1.751 GB, free: 58.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/5.713, allocations: 4.766 MB / 1.755 GB, free: 58.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00193/5.715, allocations: 103.9 kB / 1.755 GB, free: 58.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00423/5.72, allocations: 2.794 MB / 1.758 GB, free: 57.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004083/5.724, allocations: 1.504 MB / 1.759 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005724/5.724, allocations: 106.6 kB / 1.76 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0006905/5.725, allocations: 0.5141 MB / 1.76 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007296/5.732, allocations: 2.664 MB / 1.763 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009976/5.742, allocations: 4.08 MB / 1.767 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008517/5.751, allocations: 3.451 MB / 1.77 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.431e-05/5.751, allocations: 12.44 kB / 1.77 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=668) (initialization): time 0.02973/5.781, allocations: 7.786 MB / 1.778 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003889/5.781, allocations: 57.73 kB / 1.778 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002934/5.782, allocations: 41.16 kB / 1.778 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/5.783, allocations: 429.4 kB / 1.778 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007662/5.791, allocations: 1.223 MB / 1.779 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008029/5.799, allocations: 5.229 MB / 1.784 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/5.81, allocations: 464.6 kB / 1.785 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/5.813, allocations: 231.5 kB / 1.785 GB, free: 51.73 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 184 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (639): * Single equations (assignments): 636 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0046/5.818, allocations: 417.9 kB / 1.786 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004298/5.822, allocations: 0.5335 MB / 1.786 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02235/5.844, allocations: 6.61 MB / 1.793 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.809e-05/5.844, allocations: 45.89 kB / 1.793 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-05/5.844, allocations: 3.312 kB / 1.793 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001396/5.845, allocations: 21.14 kB / 1.793 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05129/5.896, allocations: 13.55 MB / 1.806 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-05/5.896, allocations: 4.125 kB / 1.806 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005261/5.901, allocations: 0.8361 MB / 1.807 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/5.903, allocations: 378.5 kB / 1.807 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001513/5.904, allocations: 116.8 kB / 1.807 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007569/5.912, allocations: 5.162 MB / 1.812 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/5.912, allocations: 3.625 kB / 1.812 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02353/5.935, allocations: 10.05 MB / 1.822 GB, free: 47.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006648/5.942, allocations: 1.382 MB / 1.823 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003591/5.946, allocations: 92.14 kB / 1.823 GB, free: 46.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008317/5.954, allocations: 370 kB / 1.824 GB, free: 46.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00159/5.956, allocations: 267.6 kB / 1.824 GB, free: 46.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001169/5.957, allocations: 150.2 kB / 1.824 GB, free: 46.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009248/5.966, allocations: 3.678 MB / 1.828 GB, free: 46.41 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.32e-07/5.966, allocations: 0 / 1.828 GB, free: 46.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01145/5.978, allocations: 1.783 MB / 1.829 GB, free: 46.41 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 36 (tanEnh.vol[1].dynBal.medium.T,tanEnh.vol[2].dynBal.medium.T,tanEnh.vol[3].dynBal.medium.T,tanEnh.vol[4].dynBal.medium.T,tanEnh.vol[5].dynBal.medium.T,tanEnh.vol[6].dynBal.medium.T,tanEnh.vol[7].dynBal.medium.T,tanEnh.hA_flow.h_out,tanEnh.hVol_flow[1].h_out,tanEnh.hVol_flow[2].h_out,tanEnh.hVol_flow[3].h_out,tanEnh.hVol_flow[4].h_out,tanEnh.hVol_flow[5].h_out,tanEnh.hVol_flow[6].h_out,tanEnh.hB_flow.h_out,tan.vol[1].dynBal.medium.T,tan.vol[2].dynBal.medium.T,tan.vol[3].dynBal.medium.T,tan.vol[4].dynBal.medium.T,tan.vol[5].dynBal.medium.T,tan.vol[6].dynBal.medium.T,tan.vol[7].dynBal.medium.T,tan.hA_flow.h_out,tan.hVol_flow[1].h_out,tan.hVol_flow[2].h_out,tan.hVol_flow[3].h_out,tan.hVol_flow[4].h_out,tan.hVol_flow[5].h_out,tan.hVol_flow[6].h_out,tan.hB_flow.h_out,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (404): * Single equations (assignments): 400 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003257/5.981, allocations: 0.8908 MB / 1.83 GB, free: 46.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01367/5.995, allocations: 6.612 MB / 1.837 GB, free: 45.88 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/5.995, allocations: 5.469 kB / 1.837 GB, free: 45.88 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006895/6.002, allocations: 3.226 MB / 1.84 GB, free: 45.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01866/6.02, allocations: 3.048 MB / 1.843 GB, free: 44.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03667/6.057, allocations: 13.68 MB / 1.856 GB, free: 39.56 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008309/6.065, allocations: 4.456 MB / 1.861 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01093/6.076, allocations: 2.39 MB / 1.863 GB, free: 37.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002522/6.079, allocations: 495.1 kB / 1.863 GB, free: 37.82 MB / 0.5573 GB Notification: Performance of SimCode: time 2.324e-06/6.079, allocations: 0 / 1.863 GB, free: 37.82 MB / 0.5573 GB Notification: Performance of Templates: time 0.7936/6.873, allocations: 118.7 MB / 1.979 GB, free: 48.11 MB / 0.573 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Examples.StratifiedLoadingUnloading.pipe 2>&1)