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.001713/0.001713, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.561/1.561, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.55/1.55, allocations: 251.7 MB / 0.5092 GB, free: 3.137 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.001509/0.001509, allocations: 79.83 kB / 0.6223 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7175, allocations: 104.7 MB / 0.7245 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.1181/0.8357, allocations: 56.02 MB / 0.7792 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0429/0.8786, allocations: 17.83 MB / 0.7966 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005778/0.8844, allocations: 71.62 kB / 0.7967 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0052/0.8898, allocations: 0.8924 MB / 0.7976 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0152/0.905, allocations: 2.483 MB / 0.8 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.9157, allocations: 1.479 MB / 0.8014 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.04037/0.956, allocations: 21.1 MB / 0.822 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02772/0.9838, allocations: 10.67 MB / 0.8325 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02323/1.007, allocations: 7.116 MB / 0.8394 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01734/1.025, allocations: 6.378 MB / 0.8456 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.005505/1.03, allocations: 0.9297 MB / 0.8465 GB, free: 15.7 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01253/1.043, allocations: 1.686 MB / 0.8482 GB, free: 14.02 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006106/1.049, allocations: 2.318 MB / 0.8504 GB, free: 11.69 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01341/1.062, allocations: 4.664 MB / 0.855 GB, free: 7.008 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02192/1.084, allocations: 12.89 MB / 0.8676 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/1.084, allocations: 0 / 0.8676 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.465e-06/1.084, allocations: 3.938 kB / 0.8676 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0006074/1.085, allocations: 4 kB / 0.8676 GB, free: 10.07 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.03227/1.117, allocations: 8.436 MB / 0.8758 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/1.117, allocations: 12.03 kB / 0.8759 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006149/1.123, allocations: 0.8509 MB / 0.8767 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.018/1.142, allocations: 6.347 MB / 0.8829 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005832/1.142, allocations: 460.6 kB / 0.8833 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00317/1.145, allocations: 0.6091 MB / 0.8839 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02726/1.173, allocations: 8.919 MB / 0.8926 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003645/1.173, allocations: 15.94 kB / 0.8926 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002583/1.176, allocations: 260 kB / 0.8929 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000258/1.176, allocations: 183.9 kB / 0.8931 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/1.196, allocations: 7.485 MB / 0.9004 GB, free: 8.035 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.6586/1.855, allocations: 35.38 MB / 0.9349 GB, free: 143.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006185/1.861, allocations: 4.405 MB / 0.9392 GB, free: 140.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00446/1.865, allocations: 3.358 MB / 0.9425 GB, free: 139.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/1.867, allocations: 0.9651 MB / 0.9434 GB, free: 138.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003179/1.87, allocations: 2.384 MB / 0.9458 GB, free: 136.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002563/1.872, allocations: 370.2 kB / 0.9461 GB, free: 136.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=329): time 1.117e-05/1.872, allocations: 0 / 0.9461 GB, free: 136.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=329): time 0.01177/1.884, allocations: 7.252 MB / 0.9532 GB, free: 132.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/1.884, allocations: 86 kB / 0.9533 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007588/1.892, allocations: 5.555 MB / 0.9587 GB, free: 127.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000889/1.893, allocations: 86.8 kB / 0.9588 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/1.895, allocations: 3.14 MB / 0.9619 GB, free: 123.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001513/1.897, allocations: 1.165 MB / 0.963 GB, free: 122.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.898, allocations: 0.8622 MB / 0.9638 GB, free: 121.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/1.898, allocations: 306.2 kB / 0.9641 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/1.9, allocations: 2.191 MB / 0.9663 GB, free: 119.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/1.904, allocations: 3.687 MB / 0.9699 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006174/1.91, allocations: 6.335 MB / 0.9761 GB, free: 108 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/1.91, allocations: 16 kB / 0.9761 GB, free: 108 MB / 0.7169 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009656/1.92, allocations: 6.826 MB / 0.9827 GB, free: 101.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/1.92, allocations: 59.45 kB / 0.9828 GB, free: 101.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.968e-05/1.92, allocations: 51.98 kB / 0.9829 GB, free: 101 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009054/1.921, allocations: 427.2 kB / 0.9833 GB, free: 100.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/1.924, allocations: 1.018 MB / 0.9843 GB, free: 99.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005233/1.929, allocations: 5.695 MB / 0.9898 GB, free: 93.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006039/1.935, allocations: 291.5 kB / 0.9901 GB, free: 93.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009157/1.936, allocations: 216 kB / 0.9903 GB, free: 93.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.004436/1.941, allocations: 2.452 MB / 0.9927 GB, free: 90.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001724/1.943, allocations: 0.5288 MB / 0.9932 GB, free: 90.12 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007845/1.95, allocations: 5.363 MB / 0.9985 GB, free: 84.71 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/1.95, allocations: 32 kB / 0.9985 GB, free: 84.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.95, allocations: 4 kB / 0.9985 GB, free: 84.67 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005481/1.956, allocations: 4.609 MB / 1.003 GB, free: 79.96 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/1.978, allocations: 12.13 MB / 1.015 GB, free: 67.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.978, allocations: 4.188 kB / 1.015 GB, free: 67.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00269/1.981, allocations: 0.6632 MB / 1.015 GB, free: 67.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007725/1.981, allocations: 372.5 kB / 1.016 GB, free: 66.71 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000294/1.982, allocations: 95.94 kB / 1.016 GB, free: 66.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/1.986, allocations: 5.607 MB / 1.021 GB, free: 60.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.986, allocations: 4 kB / 1.021 GB, free: 60.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/1.997, allocations: 7.874 MB / 1.029 GB, free: 52.76 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003582/2.001, allocations: 1.139 MB / 1.03 GB, free: 51.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001675/2.002, allocations: 71.98 kB / 1.03 GB, free: 51.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003967/2.006, allocations: 198.4 kB / 1.03 GB, free: 51.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004643/2.007, allocations: 210.2 kB / 1.031 GB, free: 51.13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003716/2.007, allocations: 131.9 kB / 1.031 GB, free: 51 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.007772/2.015, allocations: 3.889 MB / 1.035 GB, free: 47.13 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/2.015, allocations: 0 / 1.035 GB, free: 47.13 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.008608/2.023, allocations: 2.008 MB / 1.037 GB, free: 45.14 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.001793/2.025, allocations: 494.4 kB / 1.037 GB, free: 44.69 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02113/2.046, allocations: 11.96 MB / 1.049 GB, free: 32.72 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/2.046, allocations: 0 / 1.049 GB, free: 32.72 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004249/2.051, allocations: 2.6 MB / 1.051 GB, free: 30.09 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01818/2.069, allocations: 3.399 MB / 1.055 GB, free: 26.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/2.096, allocations: 14.19 MB / 1.068 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005145/2.101, allocations: 4.611 MB / 1.073 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.007404/2.108, allocations: 2.019 MB / 1.075 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/2.11, allocations: 463.2 kB / 1.075 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of SimCode: time 1.092e-06/2.11, allocations: 0 / 1.075 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.2036/2.314, allocations: 121.6 MB / 1.194 GB, free: 13 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)