Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 193.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 251.6 MB / 0.5089 GB, free: 3.262 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 71.89 kB / 0.6217 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/0.7356, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05496/0.7907, allocations: 55.54 MB / 0.7782 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02712/0.8178, allocations: 17.7 MB / 0.7955 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004498/0.8224, allocations: 63.62 kB / 0.7956 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004074/0.8266, allocations: 0.7576 MB / 0.7963 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009671/0.8362, allocations: 2.301 MB / 0.7985 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005411/0.8417, allocations: 1.353 MB / 0.7999 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.02344/0.8651, allocations: 21.2 MB / 0.8206 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01477/0.8799, allocations: 10.55 MB / 0.8309 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01925/0.8993, allocations: 7.211 MB / 0.8379 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01251/0.9118, allocations: 6.561 MB / 0.8443 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003664/0.9155, allocations: 0.9219 MB / 0.8452 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007751/0.9233, allocations: 1.694 MB / 0.8469 GB, free: 14.83 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.005242/0.9286, allocations: 2.29 MB / 0.8491 GB, free: 12.53 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01328/0.9419, allocations: 4.661 MB / 0.8537 GB, free: 7.852 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.021/0.9629, allocations: 12.86 MB / 0.8662 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.9629, allocations: 4 kB / 0.8662 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.517e-06/0.9629, allocations: 0 / 0.8662 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0005995/0.9636, allocations: 7.938 kB / 0.8662 GB, free: 10.95 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02687/0.9904, allocations: 8.424 MB / 0.8745 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.9905, allocations: 8.031 kB / 0.8745 GB, free: 2.422 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005231/0.9957, allocations: 0.847 MB / 0.8753 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01353/1.009, allocations: 6.543 MB / 0.8817 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/1.01, allocations: 456.6 kB / 0.8821 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/1.012, allocations: 0.6052 MB / 0.8827 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/1.033, allocations: 8.919 MB / 0.8914 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001859/1.034, allocations: 15.88 kB / 0.8914 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/1.035, allocations: 264 kB / 0.8917 GB, free: 420 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/1.035, allocations: 184 kB / 0.8919 GB, free: 236 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/1.051, allocations: 7.485 MB / 0.8992 GB, free: 8.738 MB / 0.7169 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.555/1.606, allocations: 35.03 MB / 0.9334 GB, free: 143.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/1.611, allocations: 4.411 MB / 0.9377 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003839/1.615, allocations: 3.353 MB / 0.941 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.616, allocations: 0.964 MB / 0.9419 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002988/1.619, allocations: 2.386 MB / 0.9442 GB, free: 137.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003101/1.622, allocations: 415 kB / 0.9446 GB, free: 137.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=329): time 1.24e-05/1.622, allocations: 0 / 0.9446 GB, free: 137.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=329): time 0.0109/1.633, allocations: 7.239 MB / 0.9517 GB, free: 133.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/1.633, allocations: 95.59 kB / 0.9518 GB, free: 133.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006985/1.64, allocations: 5.348 MB / 0.957 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004274/1.641, allocations: 89.7 kB / 0.9571 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002225/1.643, allocations: 3.139 MB / 0.9602 GB, free: 125.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.644, allocations: 1.161 MB / 0.9613 GB, free: 124 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/1.645, allocations: 0.8622 MB / 0.9621 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.042e-05/1.645, allocations: 308.3 kB / 0.9624 GB, free: 122.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/1.648, allocations: 2.199 MB / 0.9646 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/1.651, allocations: 3.691 MB / 0.9682 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00607/1.657, allocations: 6.331 MB / 0.9744 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-05/1.657, allocations: 12 kB / 0.9744 GB, free: 109.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008988/1.666, allocations: 6.825 MB / 0.981 GB, free: 102.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/1.666, allocations: 53.69 kB / 0.9811 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/1.666, allocations: 48 kB / 0.9811 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008598/1.667, allocations: 440 kB / 0.9816 GB, free: 101.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/1.67, allocations: 1.01 MB / 0.9826 GB, free: 100.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/1.674, allocations: 5.709 MB / 0.9881 GB, free: 94.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006141/1.681, allocations: 458.8 kB / 0.9886 GB, free: 94.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007128/1.681, allocations: 220 kB / 0.9888 GB, free: 94.12 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004482/1.686, allocations: 2.459 MB / 0.9912 GB, free: 91.65 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00169/1.687, allocations: 0.5237 MB / 0.9917 GB, free: 91.12 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007718/1.695, allocations: 5.359 MB / 0.9969 GB, free: 85.71 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/1.695, allocations: 39.94 kB / 0.997 GB, free: 85.67 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/1.695, allocations: 7.938 kB / 0.997 GB, free: 85.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005231/1.701, allocations: 4.609 MB / 1.001 GB, free: 80.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02035/1.721, allocations: 12.03 MB / 1.013 GB, free: 68.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.721, allocations: 0 / 1.013 GB, free: 68.83 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002667/1.724, allocations: 0.6711 MB / 1.014 GB, free: 68.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007539/1.724, allocations: 373.2 kB / 1.014 GB, free: 67.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002661/1.725, allocations: 87.95 kB / 1.014 GB, free: 67.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004216/1.729, allocations: 5.616 MB / 1.02 GB, free: 61.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.729, allocations: 3.938 kB / 1.02 GB, free: 61.81 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/1.739, allocations: 7.871 MB / 1.027 GB, free: 53.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003492/1.743, allocations: 1.131 MB / 1.029 GB, free: 52.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.744, allocations: 63.98 kB / 1.029 GB, free: 52.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/1.748, allocations: 463.1 kB / 1.029 GB, free: 52.17 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/1.748, allocations: 210.2 kB / 1.029 GB, free: 51.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/1.748, allocations: 127.9 kB / 1.029 GB, free: 51.84 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004786/1.753, allocations: 3.733 MB / 1.033 GB, free: 48.12 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.753, allocations: 0 / 1.033 GB, free: 48.12 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00618/1.759, allocations: 1.99 MB / 1.035 GB, free: 46.15 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,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 (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/1.76, allocations: 491.4 kB / 1.035 GB, free: 45.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0196/1.78, allocations: 11.96 MB / 1.047 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/1.78, allocations: 0 / 1.047 GB, free: 33.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003464/1.784, allocations: 2.596 MB / 1.05 GB, free: 31.11 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01575/1.799, allocations: 3.408 MB / 1.053 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.822, allocations: 16.72 MB / 1.069 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/1.825, allocations: 4.603 MB / 1.074 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00633/1.831, allocations: 2.006 MB / 1.076 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/1.833, allocations: 459.2 kB / 1.076 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/1.833, allocations: 0 / 1.076 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of Templates: time 0.1949/2.028, allocations: 119.3 MB / 1.193 GB, free: 13.82 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)