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.5859/0.5859, allocations: 95.62 MB / 110.6 MB, free: 9.184 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.001424/0.001424, allocations: 181.3 kB / 134.2 MB, free: 2.156 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.681/1.681, allocations: 170.7 MB / 328.4 MB, free: 12.29 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.001788/0.001788, allocations: 107.4 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 15.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.349, allocations: 423.6 MB / 0.9256 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/1.35, allocations: 94.31 kB / 0.9257 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.021/4.37, allocations: 0.7438 GB / 1.67 GB, free: 42.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.875e-06/4.37, allocations: 0 / 1.67 GB, free: 42.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001117/4.371, allocations: 182.6 kB / 1.67 GB, free: 42.43 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.02384/4.395, allocations: 6.663 MB / 1.676 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/4.395, allocations: 11.8 kB / 1.676 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/4.402, allocations: 0.8021 MB / 1.677 GB, free: 39.58 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01919/4.421, allocations: 6.303 MB / 1.683 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005496/4.422, allocations: 440.1 kB / 1.684 GB, free: 38.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002881/4.425, allocations: 0.5707 MB / 1.684 GB, free: 38.78 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01885/4.443, allocations: 8.131 MB / 1.692 GB, free: 38.19 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/4.444, allocations: 10.25 kB / 1.692 GB, free: 38.19 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009157/4.445, allocations: 244.9 kB / 1.692 GB, free: 38.19 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.006e-05/4.445, allocations: 140.7 kB / 1.692 GB, free: 38.19 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/4.461, allocations: 7.222 MB / 1.699 GB, free: 38.1 MB / 0.5417 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.06869/4.529, allocations: 31.96 MB / 1.731 GB, free: 18.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/4.54, allocations: 5.153 MB / 1.736 GB, free: 16.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001553/4.542, allocations: 0.6452 MB / 1.736 GB, free: 16.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007881/4.55, allocations: 3.084 MB / 1.739 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005327/4.555, allocations: 0.519 MB / 1.74 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=386): time 2.315e-05/4.555, allocations: 3.938 kB / 1.74 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=428): time 0.05784/4.613, allocations: 19.7 MB / 1.759 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002874/4.613, allocations: 338 kB / 1.759 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/4.627, allocations: 4.818 MB / 1.764 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001677/4.629, allocations: 105.7 kB / 1.764 GB, free: 8.391 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005355/4.634, allocations: 2.794 MB / 1.767 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003526/4.638, allocations: 1.499 MB / 1.768 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/4.639, allocations: 104 kB / 1.769 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00075/4.64, allocations: 0.5131 MB / 1.769 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006524/4.647, allocations: 2.754 MB / 1.772 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.418/5.065, allocations: 4.164 MB / 1.776 GB, free: 57.06 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007043/5.072, allocations: 3.527 MB / 1.779 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.573e-05/5.072, allocations: 11.66 kB / 1.779 GB, free: 56.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=668) (initialization): time 0.01507/5.087, allocations: 7.982 MB / 1.787 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.323e-05/5.087, allocations: 47.83 kB / 1.787 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8e-05/5.087, allocations: 42.41 kB / 1.787 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/5.088, allocations: 435 kB / 1.788 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005142/5.093, allocations: 1.212 MB / 1.789 GB, free: 56.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006184/5.099, allocations: 5.303 MB / 1.794 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007721/5.107, allocations: 468 kB / 1.794 GB, free: 54.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/5.108, allocations: 230 kB / 1.795 GB, free: 54.13 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 () * Number of clocked 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.006705/5.115, allocations: 2.262 MB / 1.797 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/5.117, allocations: 0.54 MB / 1.797 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/5.129, allocations: 6.774 MB / 1.804 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/5.129, allocations: 43.97 kB / 1.804 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/5.129, allocations: 7.703 kB / 1.804 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-05/5.13, allocations: 26.39 kB / 1.804 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/5.155, allocations: 13.59 MB / 1.817 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/5.155, allocations: 3.688 kB / 1.817 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003761/5.159, allocations: 0.8278 MB / 1.818 GB, free: 53.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008134/5.16, allocations: 371.2 kB / 1.818 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003391/5.16, allocations: 116.4 kB / 1.819 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004554/5.165, allocations: 5.238 MB / 1.824 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/5.165, allocations: 3.219 kB / 1.824 GB, free: 50.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01499/5.18, allocations: 10.29 MB / 1.834 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005291/5.185, allocations: 1.384 MB / 1.835 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001918/5.187, allocations: 99.8 kB / 1.835 GB, free: 49.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004825/5.192, allocations: 375.5 kB / 1.836 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005618/5.192, allocations: 259.7 kB / 1.836 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003659/5.193, allocations: 152.3 kB / 1.836 GB, free: 49.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.007236/5.2, allocations: 3.73 MB / 1.84 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.61e-07/5.2, allocations: 0 / 1.84 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009957/5.21, allocations: 1.781 MB / 1.841 GB, free: 49.55 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) * Number of clocked states: 0 () * 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.00285/5.213, allocations: 0.8955 MB / 1.842 GB, free: 49.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01192/5.225, allocations: 6.79 MB / 1.849 GB, free: 49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/5.225, allocations: 4.312 kB / 1.849 GB, free: 49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005206/5.23, allocations: 3.327 MB / 1.852 GB, free: 48.73 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01672/5.247, allocations: 3.048 MB / 1.855 GB, free: 48.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04545/5.292, allocations: 17.8 MB / 1.872 GB, free: 42.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007596/5.3, allocations: 4.444 MB / 1.877 GB, free: 41.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009705/5.31, allocations: 2.435 MB / 1.879 GB, free: 41.51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/5.312, allocations: 480.9 kB / 1.88 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/5.312, allocations: 3.688 kB / 1.88 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.5953/5.907, allocations: 116.7 MB / 1.994 GB, free: 88.66 MB / 0.5886 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)