Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001151/0.001151, 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.001327/0.001327, allocations: 198 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.524/1.524, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.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.001349/0.001349, allocations: 70.5 kB / 0.6715 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3112, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.07018/0.3815, allocations: 56 MB / 0.838 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02662/0.4081, allocations: 17.87 MB / 0.8555 GB, free: 3.367 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004151/0.4124, allocations: 71.62 kB / 0.8556 GB, free: 3.297 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003793/0.4162, allocations: 0.8963 MB / 0.8564 GB, free: 2.395 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009498/0.4257, allocations: 2.487 MB / 0.8589 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00521/0.4309, allocations: 1.509 MB / 0.8603 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02335/0.4543, allocations: 21.1 MB / 0.8809 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01579/0.4701, allocations: 10.69 MB / 0.8914 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0171/0.4873, allocations: 7.141 MB / 0.8984 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01545/0.5028, allocations: 6.362 MB / 0.9046 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.5731/1.076, allocations: 0.9376 MB / 0.9055 GB, free: 29.24 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008339/1.084, allocations: 1.691 MB / 0.9071 GB, free: 29.24 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.005501/1.09, allocations: 2.34 MB / 0.9094 GB, free: 29.24 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01538/1.105, allocations: 4.686 MB / 0.914 GB, free: 28.86 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0236/1.129, allocations: 12.99 MB / 0.9267 GB, free: 27.54 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/1.129, allocations: 5.203 kB / 0.9267 GB, free: 27.54 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.647e-06/1.129, allocations: 0.6875 kB / 0.9267 GB, free: 27.54 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006516/1.13, allocations: 0 / 0.9267 GB, free: 27.54 MB / 0.7169 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.03608/1.166, allocations: 8.458 MB / 0.9349 GB, free: 24.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.166, allocations: 17.72 kB / 0.935 GB, free: 24.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006673/1.172, allocations: 0.8481 MB / 0.9358 GB, free: 24.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01712/1.19, allocations: 6.306 MB / 0.9419 GB, free: 23.24 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007939/1.19, allocations: 461 kB / 0.9424 GB, free: 23.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004052/1.195, allocations: 0.5991 MB / 0.943 GB, free: 23.22 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02793/1.222, allocations: 9.024 MB / 0.9518 GB, free: 22.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00027/1.223, allocations: 18.66 kB / 0.9518 GB, free: 22.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002735/1.226, allocations: 262.6 kB / 0.9521 GB, free: 22.25 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/1.226, allocations: 180 kB / 0.9522 GB, free: 22.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/1.246, allocations: 7.449 MB / 0.9595 GB, free: 20.86 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.05782/1.303, allocations: 36.23 MB / 0.9949 GB, free: 8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00676/1.31, allocations: 4.289 MB / 0.9991 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004656/1.315, allocations: 3.304 MB / 1.002 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/1.316, allocations: 0.9586 MB / 1.003 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004155/1.32, allocations: 2.386 MB / 1.006 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003504/1.324, allocations: 366.3 kB / 1.006 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 1.218e-05/1.324, allocations: 0 / 1.006 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01395/1.338, allocations: 7.142 MB / 1.013 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/1.338, allocations: 85.38 kB / 1.013 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01005/1.348, allocations: 5.576 MB / 1.018 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001124/1.349, allocations: 85.7 kB / 1.018 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.003935/1.353, allocations: 3.177 MB / 1.022 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/1.355, allocations: 1.112 MB / 1.023 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001561/1.357, allocations: 0.858 MB / 1.024 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.357, allocations: 305.1 kB / 1.024 GB, free: 2.539 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003529/1.361, allocations: 2.16 MB / 1.026 GB, free: 380 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004862/1.365, allocations: 3.698 MB / 1.03 GB, free: 12 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.376, allocations: 6.322 MB / 1.036 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.521e-05/1.376, allocations: 16 kB / 1.036 GB, free: 5.145 MB / 0.7637 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01459/1.391, allocations: 6.76 MB / 1.042 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.873e-05/1.391, allocations: 58.69 kB / 1.042 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-05/1.391, allocations: 48 kB / 1.042 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/1.392, allocations: 439.4 kB / 1.043 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/1.396, allocations: 1.004 MB / 1.044 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00601/1.402, allocations: 5.706 MB / 1.049 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00641/1.409, allocations: 283.5 kB / 1.05 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.41, allocations: 216 kB / 1.05 GB, free: 6.742 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * 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 (540): * Single equations (assignments): 537 * 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.00581/1.416, allocations: 2.459 MB / 1.052 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002087/1.418, allocations: 0.5249 MB / 1.053 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.428, allocations: 5.263 MB / 1.058 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/1.428, allocations: 32 kB / 1.058 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.428, allocations: 4 kB / 1.058 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007146/1.435, allocations: 4.533 MB / 1.062 GB, free: 9.852 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02726/1.462, allocations: 12.01 MB / 1.074 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.462, allocations: 4 kB / 1.074 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002952/1.465, allocations: 0.6469 MB / 1.075 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009942/1.466, allocations: 376.5 kB / 1.075 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003082/1.467, allocations: 83.95 kB / 1.075 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/1.473, allocations: 5.623 MB / 1.081 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.473, allocations: 3.375 kB / 1.081 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.487, allocations: 7.758 MB / 1.088 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004391/1.492, allocations: 1.143 MB / 1.089 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002134/1.494, allocations: 67.98 kB / 1.089 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004607/1.498, allocations: 205 kB / 1.09 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006183/1.499, allocations: 201.6 kB / 1.09 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004869/1.499, allocations: 139.8 kB / 1.09 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.008121/1.508, allocations: 3.902 MB / 1.094 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/1.508, allocations: 0 / 1.094 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01112/1.519, allocations: 2.007 MB / 1.096 GB, free: 7.34 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,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 (296): * Single equations (assignments): 289 * 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.002144/1.521, allocations: 494.7 kB / 1.096 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02242/1.543, allocations: 11.62 MB / 1.108 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.543, allocations: 8.125 kB / 1.108 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004527/1.548, allocations: 2.543 MB / 1.11 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02061/1.569, allocations: 3.41 MB / 1.113 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/1.601, allocations: 13.95 MB / 1.127 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006095/1.607, allocations: 4.599 MB / 1.131 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.008479/1.615, allocations: 2.048 MB / 1.133 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002468/1.618, allocations: 462.8 kB / 1.134 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of SimCode: time 1.803e-06/1.618, allocations: 0 / 1.134 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of Templates: time 0.2765/1.895, allocations: 122 MB / 1.253 GB, free: 7.98 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)