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.001167/0.001167, 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.001473/0.001473, allocations: 187.2 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.494/1.494, 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 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 0.5485 GB, free: 13.61 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.001441/0.001441, allocations: 68.98 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3105, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05752/0.3681, allocations: 55.53 MB / 0.8371 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02629/0.3944, allocations: 17.71 MB / 0.8544 GB, free: 4.398 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004092/0.3986, allocations: 67.56 kB / 0.8544 GB, free: 4.332 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003753/0.4024, allocations: 0.7654 MB / 0.8552 GB, free: 3.562 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009248/0.4117, allocations: 2.302 MB / 0.8574 GB, free: 1.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004696/0.4164, allocations: 1.384 MB / 0.8588 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.02589/0.4423, allocations: 21.2 MB / 0.8795 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01475/0.4571, allocations: 10.58 MB / 0.8898 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02183/0.479, allocations: 7.223 MB / 0.8969 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01636/0.4954, allocations: 6.541 MB / 0.9033 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004615/0.5001, allocations: 0.9297 MB / 0.9042 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/0.5102, allocations: 1.69 MB / 0.9058 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00599/0.5162, allocations: 2.326 MB / 0.9081 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01442/0.5307, allocations: 4.672 MB / 0.9127 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.602/1.133, allocations: 12.97 MB / 0.9253 GB, free: 46.71 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.133, allocations: 0.6094 kB / 0.9253 GB, free: 46.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.444e-06/1.133, allocations: 0 / 0.9253 GB, free: 46.71 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0005995/1.133, allocations: 0.9062 kB / 0.9253 GB, free: 46.71 MB / 0.7325 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.03203/1.165, allocations: 8.442 MB / 0.9336 GB, free: 43.91 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.166, allocations: 10.31 kB / 0.9336 GB, free: 43.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006648/1.172, allocations: 0.8497 MB / 0.9344 GB, free: 43.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/1.188, allocations: 6.501 MB / 0.9408 GB, free: 42.56 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007893/1.189, allocations: 457 kB / 0.9412 GB, free: 42.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004194/1.193, allocations: 0.5999 MB / 0.9418 GB, free: 42.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/1.227, allocations: 9.028 MB / 0.9506 GB, free: 41.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004043/1.228, allocations: 17.34 kB / 0.9506 GB, free: 41.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003698/1.231, allocations: 262.2 kB / 0.9509 GB, free: 41.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003207/1.232, allocations: 182.4 kB / 0.951 GB, free: 41.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02372/1.255, allocations: 7.447 MB / 0.9583 GB, free: 41.52 MB / 0.7325 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.06282/1.318, allocations: 35.89 MB / 0.9934 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007578/1.326, allocations: 4.28 MB / 0.9975 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005597/1.331, allocations: 3.303 MB / 1.001 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/1.333, allocations: 0.9568 MB / 1.002 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004929/1.338, allocations: 2.385 MB / 1.004 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00442/1.342, allocations: 411.9 kB / 1.004 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=317): time 2.605e-05/1.342, allocations: 0 / 1.004 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=317): time 0.01691/1.359, allocations: 7.129 MB / 1.011 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/1.359, allocations: 89.64 kB / 1.011 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01361/1.373, allocations: 5.378 MB / 1.017 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001332/1.374, allocations: 85.7 kB / 1.017 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003546/1.378, allocations: 3.165 MB / 1.02 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002211/1.38, allocations: 1.119 MB / 1.021 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003497/1.384, allocations: 0.8619 MB / 1.022 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.384, allocations: 301.1 kB / 1.022 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004543/1.388, allocations: 2.165 MB / 1.024 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005803/1.394, allocations: 3.7 MB / 1.028 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/1.404, allocations: 6.323 MB / 1.034 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.268e-05/1.404, allocations: 16 kB / 1.034 GB, free: 1.273 MB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01511/1.42, allocations: 6.76 MB / 1.041 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.482e-05/1.42, allocations: 57.69 kB / 1.041 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.895e-05/1.42, allocations: 48 kB / 1.041 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/1.421, allocations: 441.3 kB / 1.041 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003901/1.425, allocations: 1.003 MB / 1.042 GB, free: 9.289 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006068/1.431, allocations: 5.712 MB / 1.048 GB, free: 3.359 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006919/1.438, allocations: 466.8 kB / 1.048 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001133/1.439, allocations: 220 kB / 1.048 GB, free: 2.688 MB / 0.7637 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.006103/1.445, allocations: 2.461 MB / 1.051 GB, free: 296 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002672/1.448, allocations: 0.5134 MB / 1.051 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.461, allocations: 5.261 MB / 1.056 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/1.461, allocations: 35.98 kB / 1.056 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-05/1.461, allocations: 4 kB / 1.056 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01048/1.472, allocations: 4.535 MB / 1.061 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03205/1.504, allocations: 11.94 MB / 1.073 GB, free: 9.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/1.504, allocations: 4 kB / 1.073 GB, free: 9.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003207/1.507, allocations: 0.65 MB / 1.073 GB, free: 9.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009991/1.508, allocations: 365.4 kB / 1.074 GB, free: 8.816 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006333/1.509, allocations: 87.95 kB / 1.074 GB, free: 8.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006007/1.515, allocations: 5.614 MB / 1.079 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.515, allocations: 8 kB / 1.079 GB, free: 2.875 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/1.53, allocations: 7.75 MB / 1.087 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00459/1.535, allocations: 1.139 MB / 1.088 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00222/1.537, allocations: 63.98 kB / 1.088 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006263/1.543, allocations: 463.7 kB / 1.088 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008684/1.544, allocations: 201.3 kB / 1.088 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007782/1.545, allocations: 143.9 kB / 1.089 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.008096/1.553, allocations: 3.746 MB / 1.092 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.3e-07/1.553, allocations: 0 / 1.092 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01032/1.563, allocations: 1.983 MB / 1.094 GB, free: 3.32 MB / 0.8106 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.002321/1.566, allocations: 477.5 kB / 1.095 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02338/1.589, allocations: 11.64 MB / 1.106 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.589, allocations: 4 kB / 1.106 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004866/1.594, allocations: 2.546 MB / 1.109 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02008/1.614, allocations: 3.392 MB / 1.112 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03394/1.648, allocations: 16.49 MB / 1.128 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007243/1.655, allocations: 4.595 MB / 1.132 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.009517/1.665, allocations: 2.021 MB / 1.134 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002564/1.668, allocations: 458.9 kB / 1.135 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of SimCode: time 1.092e-06/1.668, allocations: 0 / 1.135 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of Templates: time 0.1967/1.864, allocations: 119.7 MB / 1.252 GB, free: 3.848 MB / 0.9669 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)