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.001479/0.001486, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001826/0.001826, allocations: 177.3 kB / 15.94 MB, free: 228 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.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.684/1.684, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0005891/0.0005892, allocations: 12 kB / 0.6241 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6483, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05356/0.702, allocations: 46.84 MB / 0.7737 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02302/0.725, allocations: 15.46 MB / 0.7888 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003434/0.7285, allocations: 63.56 kB / 0.7889 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003509/0.732, allocations: 0.8162 MB / 0.7897 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008595/0.7407, allocations: 2.123 MB / 0.7917 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005344/0.746, allocations: 1.483 MB / 0.7932 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0155/0.7615, allocations: 11.35 MB / 0.8043 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0122/0.7738, allocations: 7.139 MB / 0.8113 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.7851, allocations: 4.462 MB / 0.8156 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01014/0.7953, allocations: 3.855 MB / 0.8194 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003135/0.7985, allocations: 348 kB / 0.8197 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008235/0.8068, allocations: 0.8391 MB / 0.8205 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004454/0.8113, allocations: 1.46 MB / 0.8219 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005712/0.817, allocations: 1.592 MB / 0.8235 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01994/0.837, allocations: 10.16 MB / 0.8334 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.837, allocations: 0 / 0.8334 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.296e-06/0.837, allocations: 0 / 0.8334 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000551/0.8376, allocations: 0 / 0.8334 GB, free: 15.14 MB / 0.6544 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.02488/0.8625, allocations: 6.909 MB / 0.8402 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.8626, allocations: 8.031 kB / 0.8402 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005145/0.8677, allocations: 0.85 MB / 0.841 GB, free: 7.273 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01731/0.8851, allocations: 5.957 MB / 0.8468 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006748/0.8858, allocations: 464.2 kB / 0.8473 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002729/0.8885, allocations: 0.5975 MB / 0.8479 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0261/0.9146, allocations: 8.829 MB / 0.8565 GB, free: 7.066 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004227/0.9151, allocations: 19.8 kB / 0.8565 GB, free: 7.047 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002695/0.9178, allocations: 256 kB / 0.8567 GB, free: 6.797 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/0.9182, allocations: 179.9 kB / 0.8569 GB, free: 6.621 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.9385, allocations: 7.453 MB / 0.8642 GB, free: 15.16 MB / 0.6856 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.07147/1.01, allocations: 35.36 MB / 0.8987 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009422/1.019, allocations: 4.471 MB / 0.9031 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001952/1.021, allocations: 0.9857 MB / 0.904 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006076/1.028, allocations: 2.4 MB / 0.9064 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004231/1.032, allocations: 471.3 kB / 0.9068 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=329): time 1.615e-05/1.032, allocations: 0 / 0.9068 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=329): time 0.525/1.557, allocations: 7.232 MB / 0.9139 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/1.557, allocations: 93.66 kB / 0.914 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01348/1.571, allocations: 5.733 MB / 0.9196 GB, free: 157.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000964/1.572, allocations: 85.52 kB / 0.9197 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.003106/1.575, allocations: 3.14 MB / 0.9227 GB, free: 155.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00178/1.576, allocations: 1.153 MB / 0.9239 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/1.577, allocations: 91.81 kB / 0.924 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002168/1.577, allocations: 493.6 kB / 0.9244 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/1.58, allocations: 2.189 MB / 0.9266 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003856/1.584, allocations: 3.662 MB / 0.9301 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/1.588, allocations: 2.946 MB / 0.933 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/1.588, allocations: 15.5 kB / 0.933 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01025/1.598, allocations: 6.805 MB / 0.9397 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/1.598, allocations: 55.7 kB / 0.9397 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-05/1.598, allocations: 52.19 kB / 0.9398 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008892/1.599, allocations: 437.7 kB / 0.9402 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003573/1.603, allocations: 1.066 MB / 0.9412 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/1.607, allocations: 5.315 MB / 0.9464 GB, free: 140.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005851/1.613, allocations: 490 kB / 0.9469 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005539/1.614, allocations: 212 kB / 0.9471 GB, free: 139.5 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.004072/1.618, allocations: 2.463 MB / 0.9495 GB, free: 137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/1.619, allocations: 0.5172 MB / 0.95 GB, free: 136.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007298/1.626, allocations: 5.377 MB / 0.9553 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/1.626, allocations: 38.02 kB / 0.9553 GB, free: 131 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.626, allocations: 8 kB / 0.9553 GB, free: 131 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005237/1.632, allocations: 4.628 MB / 0.9598 GB, free: 126.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.02121/1.653, allocations: 12.25 MB / 0.9718 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.653, allocations: 4 kB / 0.9718 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/1.656, allocations: 0.6438 MB / 0.9724 GB, free: 113.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007167/1.656, allocations: 365.3 kB / 0.9728 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/1.656, allocations: 87.95 kB / 0.9728 GB, free: 112.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004022/1.661, allocations: 5.234 MB / 0.978 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.661, allocations: 11.69 kB / 0.978 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009896/1.67, allocations: 7.88 MB / 0.9857 GB, free: 99.35 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0035/1.674, allocations: 1.287 MB / 0.9869 GB, free: 98.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/1.675, allocations: 63.98 kB / 0.987 GB, free: 97.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003915/1.679, allocations: 448.8 kB / 0.9874 GB, free: 97.54 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/1.679, allocations: 214.5 kB / 0.9876 GB, free: 97.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002626/1.68, allocations: 131.9 kB / 0.9877 GB, free: 97.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.005292/1.685, allocations: 4.026 MB / 0.9917 GB, free: 93.19 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.91e-07/1.685, allocations: 5.594 kB / 0.9917 GB, free: 93.19 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006474/1.692, allocations: 2.003 MB / 0.9936 GB, free: 91.2 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.00131/1.693, allocations: 489.6 kB / 0.9941 GB, free: 90.78 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007591/1.7, allocations: 5.462 MB / 0.9994 GB, free: 85.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.7, allocations: 0 / 0.9994 GB, free: 85.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003327/1.704, allocations: 2.565 MB / 1.002 GB, free: 82.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01491/1.719, allocations: 3.17 MB / 1.005 GB, free: 79.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/1.745, allocations: 16.31 MB / 1.021 GB, free: 63.22 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003822/1.749, allocations: 4.726 MB / 1.026 GB, free: 58.46 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006576/1.756, allocations: 2.052 MB / 1.028 GB, free: 56.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/1.757, allocations: 463.2 kB / 1.028 GB, free: 55.96 MB / 0.7169 GB Notification: Performance of SimCode: time 9.81e-07/1.757, allocations: 0 / 1.028 GB, free: 55.96 MB / 0.7169 GB Notification: Performance of Templates: time 0.1668/1.924, allocations: 113.2 MB / 1.139 GB, free: 7.855 MB / 0.7794 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: