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.0008284/0.0008284, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0009077/0.0009077, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.63/1.63, allocations: 252 MB / 0.5102 GB, free: 4.859 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.0006442/0.0006444, allocations: 12 kB / 0.6243 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.739, allocations: 106.3 MB / 0.7281 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05229/0.7914, allocations: 51.55 MB / 0.7785 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.8179, allocations: 16.72 MB / 0.7948 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00398/0.8219, allocations: 63.62 kB / 0.7948 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004663/0.8266, allocations: 0.6287 MB / 0.7955 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.8372, allocations: 1.97 MB / 0.7974 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.8416, allocations: 1.051 MB / 0.7984 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02647/0.8681, allocations: 23.48 MB / 0.8213 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01307/0.8812, allocations: 7.118 MB / 0.8283 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.014/0.8953, allocations: 5.292 MB / 0.8335 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01381/0.9091, allocations: 5.485 MB / 0.8388 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002987/0.9122, allocations: 348 kB / 0.8392 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008735/0.9209, allocations: 0.7802 MB / 0.8399 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004433/0.9254, allocations: 1.518 MB / 0.8414 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005879/0.9313, allocations: 1.6 MB / 0.843 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01659/0.9479, allocations: 10.21 MB / 0.8529 GB, free: 11.25 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.948, allocations: 0 / 0.8529 GB, free: 11.25 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.946e-06/0.948, allocations: 0 / 0.8529 GB, free: 11.25 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0006569/0.9486, allocations: 0 / 0.8529 GB, free: 11.25 MB / 0.67 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.02207/0.9707, allocations: 6.917 MB / 0.8597 GB, free: 4.242 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.9708, allocations: 8.031 kB / 0.8597 GB, free: 4.234 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/0.9765, allocations: 0.8461 MB / 0.8605 GB, free: 3.379 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01529/0.9918, allocations: 6.383 MB / 0.8668 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005989/0.9924, allocations: 468.2 kB / 0.8672 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.9949, allocations: 0.6015 MB / 0.8678 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/1.018, allocations: 8.876 MB / 0.8765 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001737/1.019, allocations: 23.73 kB / 0.8765 GB, free: 2.668 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001005/1.02, allocations: 263.9 kB / 0.8767 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003204/1.02, allocations: 180 kB / 0.8769 GB, free: 2.234 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01954/1.039, allocations: 7.453 MB / 0.8842 GB, free: 10.77 MB / 0.7012 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.8583/1.898, allocations: 35.09 MB / 0.9184 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/1.906, allocations: 4.403 MB / 0.9227 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005595/1.911, allocations: 3.428 MB / 0.9261 GB, free: 148.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.912, allocations: 0.989 MB / 0.9271 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003821/1.916, allocations: 2.382 MB / 0.9294 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002657/1.919, allocations: 455.8 kB / 0.9298 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=329): time 7.775e-06/1.919, allocations: 0 / 0.9298 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=329): time 0.0122/1.931, allocations: 7.2 MB / 0.9368 GB, free: 144.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.931, allocations: 83.62 kB / 0.9369 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007771/1.939, allocations: 5.313 MB / 0.9421 GB, free: 141.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.94, allocations: 88.61 kB / 0.9422 GB, free: 141.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003434/1.943, allocations: 3.134 MB / 0.9453 GB, free: 139 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/1.945, allocations: 1.165 MB / 0.9464 GB, free: 138 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/1.945, allocations: 90.62 kB / 0.9465 GB, free: 137.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.946, allocations: 0.4889 MB / 0.947 GB, free: 137.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003171/1.949, allocations: 2.172 MB / 0.9491 GB, free: 136.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/1.953, allocations: 3.669 MB / 0.9527 GB, free: 132.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/1.957, allocations: 2.924 MB / 0.9555 GB, free: 130 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-05/1.957, allocations: 19.97 kB / 0.9555 GB, free: 130 MB / 0.7169 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01062/1.967, allocations: 6.769 MB / 0.9622 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-05/1.967, allocations: 53.7 kB / 0.9622 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-05/1.967, allocations: 44 kB / 0.9622 GB, free: 123.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008339/1.968, allocations: 441.6 kB / 0.9627 GB, free: 122.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003461/1.972, allocations: 1.023 MB / 0.9637 GB, free: 121.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004672/1.976, allocations: 5.247 MB / 0.9688 GB, free: 116.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00626/1.983, allocations: 470.8 kB / 0.9692 GB, free: 115.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008832/1.984, allocations: 223.9 kB / 0.9695 GB, free: 115.4 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (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.004848/1.988, allocations: 2.456 MB / 0.9718 GB, free: 113 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/1.99, allocations: 0.5171 MB / 0.9724 GB, free: 112.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00786/1.998, allocations: 5.336 MB / 0.9776 GB, free: 107.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/1.998, allocations: 35.98 kB / 0.9776 GB, free: 107 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.998, allocations: 4 kB / 0.9776 GB, free: 107 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005407/2.004, allocations: 4.608 MB / 0.9821 GB, free: 102.3 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 postOpt removeSimpleEquations (simulation): time 0.0203/2.024, allocations: 12.03 MB / 0.9939 GB, free: 90.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/2.024, allocations: 7.844 kB / 0.9939 GB, free: 90.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/2.027, allocations: 0.6749 MB / 0.9945 GB, free: 89.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007456/2.027, allocations: 368.6 kB / 0.9949 GB, free: 89.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/2.028, allocations: 87.95 kB / 0.995 GB, free: 89.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/2.032, allocations: 5.162 MB / 1 GB, free: 83.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/2.032, allocations: 3.953 kB / 1 GB, free: 83.65 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009948/2.042, allocations: 7.719 MB / 1.008 GB, free: 75.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003129/2.045, allocations: 1.197 MB / 1.009 GB, free: 74.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/2.046, allocations: 71.94 kB / 1.009 GB, free: 74.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003796/2.05, allocations: 471.9 kB / 1.009 GB, free: 74.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/2.05, allocations: 206.3 kB / 1.009 GB, free: 73.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/2.05, allocations: 127.9 kB / 1.01 GB, free: 73.76 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004764/2.055, allocations: 3.694 MB / 1.013 GB, free: 70.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.51e-07/2.055, allocations: 3.938 kB / 1.013 GB, free: 70.08 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006721/2.062, allocations: 1.986 MB / 1.015 GB, free: 68.11 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 (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.00195/2.064, allocations: 465.2 kB / 1.016 GB, free: 67.71 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0076/2.071, allocations: 5.43 MB / 1.021 GB, free: 62.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/2.071, allocations: 4 kB / 1.021 GB, free: 62.22 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003146/2.075, allocations: 2.551 MB / 1.023 GB, free: 59.64 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01461/2.089, allocations: 3.224 MB / 1.026 GB, free: 56.49 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/2.111, allocations: 16.34 MB / 1.042 GB, free: 40.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003501/2.114, allocations: 4.607 MB / 1.047 GB, free: 35.45 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006621/2.121, allocations: 1.991 MB / 1.049 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/2.123, allocations: 463.2 kB / 1.049 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/2.123, allocations: 0 / 1.049 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of Templates: time 0.1808/2.303, allocations: 111.6 MB / 1.158 GB, free: 2.469 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: