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.6023/0.6023, allocations: 94.77 MB / 102.2 MB, free: 10.13 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.001192/0.001193, allocations: 177 kB / 125.6 MB, free: 11.86 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.809/1.809, allocations: 170.6 MB / 319.4 MB, free: 9.332 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.001966/0.001966, allocations: 110.4 kB / 381.3 MB, free: 18.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.578e-05, allocations: 7.984 kB / 449.1 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1785, allocations: 61.52 MB / 0.4987 GB, free: 4.137 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.755/1.934, allocations: 422.8 MB / 0.9116 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.934, allocations: 89.28 kB / 0.9117 GB, free: 179.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.054/4.989, allocations: 0.7375 GB / 1.649 GB, free: 46.12 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.584e-06/4.989, allocations: 0 / 1.649 GB, free: 46.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001393/4.99, allocations: 183.3 kB / 1.649 GB, free: 46.08 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.02515/5.015, allocations: 5.776 MB / 1.655 GB, free: 43.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/5.015, allocations: 7.281 kB / 1.655 GB, free: 43.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007596/5.023, allocations: 0.7965 MB / 1.656 GB, free: 43.54 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02158/5.045, allocations: 6.259 MB / 1.662 GB, free: 42.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006922/5.045, allocations: 185.3 kB / 1.662 GB, free: 42.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003985/5.049, allocations: 355.6 kB / 1.662 GB, free: 42.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02258/5.072, allocations: 6.692 MB / 1.669 GB, free: 42.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0326/5.105, allocations: 7.178 MB / 1.676 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004788/5.105, allocations: 7.812 kB / 1.676 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003613/5.109, allocations: 11.75 kB / 1.676 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/5.109, allocations: 139.2 kB / 1.676 GB, free: 39.73 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.0742/5.183, allocations: 30.76 MB / 1.706 GB, free: 18.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008877/5.192, allocations: 4.865 MB / 1.711 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00706/5.199, allocations: 3.507 MB / 1.714 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/5.201, allocations: 0.6434 MB / 1.715 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007318/5.208, allocations: 2.883 MB / 1.718 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004813/5.213, allocations: 368.2 kB / 1.718 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=386): time 2.549e-05/5.213, allocations: 4 kB / 1.718 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of matching and sorting (n=428): time 0.6372/5.85, allocations: 14.62 MB / 1.732 GB, free: 47.99 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002354/5.851, allocations: 333.3 kB / 1.733 GB, free: 47.64 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009666/5.86, allocations: 3.606 MB / 1.736 GB, free: 47.35 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00171/5.862, allocations: 29.08 kB / 1.736 GB, free: 47.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0044/5.866, allocations: 2.843 MB / 1.739 GB, free: 46.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00309/5.869, allocations: 1.455 MB / 1.74 GB, free: 45.67 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003656/5.87, allocations: 0 / 1.74 GB, free: 45.67 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000519/5.87, allocations: 0.5154 MB / 1.741 GB, free: 45.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0044/5.875, allocations: 2.557 MB / 1.743 GB, free: 45.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005231/5.88, allocations: 3.945 MB / 1.747 GB, free: 43.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008911/5.889, allocations: 4.045 MB / 1.751 GB, free: 43.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-05/5.889, allocations: 10.47 kB / 1.751 GB, free: 43.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=668) (initialization): time 0.02201/5.911, allocations: 7.911 MB / 1.759 GB, free: 43.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/5.911, allocations: 50.23 kB / 1.759 GB, free: 43.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001274/5.912, allocations: 38.97 kB / 1.759 GB, free: 43.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/5.913, allocations: 427.5 kB / 1.759 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005784/5.918, allocations: 1.22 MB / 1.761 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/5.925, allocations: 5.044 MB / 1.766 GB, free: 40.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009675/5.935, allocations: 352.4 kB / 1.766 GB, free: 40.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002404/5.937, allocations: 231.6 kB / 1.766 GB, free: 40.66 MB / 0.5417 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.004468/5.942, allocations: 256.3 kB / 1.766 GB, free: 40.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003977/5.946, allocations: 470.1 kB / 1.767 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02267/5.968, allocations: 6.928 MB / 1.774 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.089e-05/5.969, allocations: 40.75 kB / 1.774 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-05/5.969, allocations: 4.562 kB / 1.774 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/5.969, allocations: 22.72 kB / 1.774 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05154/6.02, allocations: 13.31 MB / 1.787 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/6.02, allocations: 0.6875 kB / 1.787 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005069/6.025, allocations: 0.8312 MB / 1.787 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/6.027, allocations: 363.2 kB / 1.788 GB, free: 39.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001194/6.028, allocations: 65 kB / 1.788 GB, free: 39.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007249/6.035, allocations: 4.982 MB / 1.793 GB, free: 36.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/6.035, allocations: 1.25 kB / 1.793 GB, free: 36.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03087/6.066, allocations: 10.39 MB / 1.803 GB, free: 36.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007271/6.073, allocations: 1.281 MB / 1.804 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003604/6.077, allocations: 25.05 kB / 1.804 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007793/6.085, allocations: 299.6 kB / 1.804 GB, free: 35.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001878/6.087, allocations: 256.1 kB / 1.805 GB, free: 35.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001573/6.088, allocations: 153 kB / 1.805 GB, free: 35.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00906/6.097, allocations: 2.714 MB / 1.808 GB, free: 35.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.576e-06/6.097, allocations: 1.219 kB / 1.808 GB, free: 35.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01542/6.113, allocations: 1.631 MB / 1.809 GB, free: 35.66 MB / 0.5417 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.004804/6.118, allocations: 0.8344 MB / 1.81 GB, free: 35.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01774/6.136, allocations: 6.322 MB / 1.816 GB, free: 35.17 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.482e-05/6.136, allocations: 4.75 kB / 1.816 GB, free: 35.17 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008454/6.144, allocations: 3.132 MB / 1.819 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01791/6.162, allocations: 2.324 MB / 1.821 GB, free: 34.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04022/6.202, allocations: 13.22 MB / 1.834 GB, free: 32.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008437/6.211, allocations: 4.447 MB / 1.839 GB, free: 31.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01127/6.222, allocations: 2.2 MB / 1.841 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003259/6.225, allocations: 446 kB / 1.841 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.425e-06/6.226, allocations: 0 / 1.841 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.1753/6.401, allocations: 91.45 MB / 1.931 GB, free: 13.74 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)