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.0009051/0.0009051, allocations: 99.86 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.0009511/0.0009511, allocations: 177.3 kB / 15.95 MB, free: 216 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.345/1.345, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.5 MB / 0.5497 GB, free: 14.63 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.000537/0.0005371, allocations: 17.3 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2635, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04964/0.3132, allocations: 46.84 MB / 0.8328 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.3356, allocations: 15.48 MB / 0.848 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.3388, allocations: 63.56 kB / 0.848 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003287/0.3421, allocations: 0.8122 MB / 0.8488 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007818/0.35, allocations: 2.127 MB / 0.8509 GB, free: 10.49 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005482/0.3555, allocations: 1.567 MB / 0.8524 GB, free: 8.949 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01766/0.3731, allocations: 11.34 MB / 0.8635 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01129/0.3845, allocations: 7.162 MB / 0.8705 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/0.3954, allocations: 4.481 MB / 0.8749 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008958/0.4044, allocations: 3.847 MB / 0.8786 GB, free: 14 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002368/0.4068, allocations: 348 kB / 0.879 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006086/0.4129, allocations: 0.8352 MB / 0.8798 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003641/0.4166, allocations: 1.464 MB / 0.8812 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004249/0.4209, allocations: 1.603 MB / 0.8828 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01821/0.4391, allocations: 10.23 MB / 0.8928 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4392, allocations: 0 / 0.8928 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.496e-06/0.4392, allocations: 0 / 0.8928 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005421/0.4397, allocations: 0 / 0.8928 GB, free: 15.48 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.01822/0.4579, allocations: 6.912 MB / 0.8995 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.458, allocations: 8.031 kB / 0.8995 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/0.4631, allocations: 0.8461 MB / 0.9003 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/0.4787, allocations: 5.917 MB / 0.9061 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006163/0.4794, allocations: 464.2 kB / 0.9066 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/0.4816, allocations: 0.5897 MB / 0.9071 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7855/1.267, allocations: 8.93 MB / 0.9159 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/1.267, allocations: 21.84 kB / 0.9159 GB, free: 106.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006349/1.268, allocations: 259 kB / 0.9161 GB, free: 106.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/1.268, allocations: 176.1 kB / 0.9163 GB, free: 106.6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/1.282, allocations: 7.414 MB / 0.9235 GB, free: 104.1 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.05141/1.333, allocations: 36.2 MB / 0.9589 GB, free: 76.53 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006367/1.34, allocations: 4.338 MB / 0.9631 GB, free: 74.28 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/1.341, allocations: 0.9792 MB / 0.9641 GB, free: 73.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004095/1.345, allocations: 2.39 MB / 0.9664 GB, free: 71.87 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003127/1.348, allocations: 477.4 kB / 0.9669 GB, free: 71.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.02e-05/1.348, allocations: 0 / 0.9669 GB, free: 71.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01249/1.361, allocations: 7.139 MB / 0.9738 GB, free: 65.62 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/1.361, allocations: 89.91 kB / 0.9739 GB, free: 65.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009415/1.37, allocations: 5.755 MB / 0.9795 GB, free: 59.78 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007719/1.371, allocations: 85.7 kB / 0.9796 GB, free: 59.69 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002867/1.374, allocations: 3.164 MB / 0.9827 GB, free: 56.51 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/1.376, allocations: 1.118 MB / 0.9838 GB, free: 55.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006075/1.376, allocations: 92 kB / 0.9839 GB, free: 55.31 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0003272/1.377, allocations: 493.2 kB / 0.9844 GB, free: 54.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/1.38, allocations: 2.163 MB / 0.9865 GB, free: 52.65 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003865/1.384, allocations: 3.677 MB / 0.9901 GB, free: 48.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/1.388, allocations: 2.927 MB / 0.9929 GB, free: 45.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.487e-05/1.388, allocations: 15.95 kB / 0.9929 GB, free: 45.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01017/1.398, allocations: 6.757 MB / 0.9995 GB, free: 38.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/1.398, allocations: 62.17 kB / 0.9996 GB, free: 38.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-05/1.398, allocations: 48 kB / 0.9996 GB, free: 38.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008681/1.399, allocations: 441.3 kB / 1 GB, free: 37.95 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/1.403, allocations: 1.057 MB / 1.001 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004608/1.407, allocations: 5.321 MB / 1.006 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00589/1.413, allocations: 482.7 kB / 1.007 GB, free: 30.85 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007918/1.414, allocations: 216.8 kB / 1.007 GB, free: 30.64 MB / 0.7169 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 ($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 (540): * Single equations (assignments): 537 * 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.004654/1.419, allocations: 2.463 MB / 1.009 GB, free: 28.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001739/1.421, allocations: 0.5172 MB / 1.01 GB, free: 27.64 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00935/1.43, allocations: 5.277 MB / 1.015 GB, free: 22.31 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/1.43, allocations: 36 kB / 1.015 GB, free: 22.28 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/1.43, allocations: 8 kB / 1.015 GB, free: 22.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006043/1.436, allocations: 4.556 MB / 1.02 GB, free: 17.61 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.02311/1.459, allocations: 12.14 MB / 1.031 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.459, allocations: 4 kB / 1.031 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002661/1.462, allocations: 0.6243 MB / 1.032 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007917/1.463, allocations: 372 kB / 1.032 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003861/1.463, allocations: 91.91 kB / 1.032 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004557/1.468, allocations: 5.23 MB / 1.038 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.468, allocations: 3.938 kB / 1.038 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.48, allocations: 7.77 MB / 1.045 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004366/1.485, allocations: 1.291 MB / 1.046 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/1.486, allocations: 67.98 kB / 1.046 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005305/1.492, allocations: 444.5 kB / 1.047 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005568/1.492, allocations: 206.1 kB / 1.047 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004928/1.493, allocations: 143.9 kB / 1.047 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.007515/1.5, allocations: 4.035 MB / 1.051 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/1.5, allocations: 0 / 1.051 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007118/1.507, allocations: 2 MB / 1.053 GB, free: 14.72 MB / 0.7482 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 (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.001521/1.509, allocations: 0.4893 MB / 1.054 GB, free: 14.27 MB / 0.7482 GB Notification: Performance of simCode: created initialization part: time 0.009453/1.518, allocations: 5.394 MB / 1.059 GB, free: 8.828 MB / 0.7482 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.519, allocations: 4.375 kB / 1.059 GB, free: 8.824 MB / 0.7482 GB Notification: Performance of simCode: created simulation system equations: time 0.004158/1.523, allocations: 2.521 MB / 1.061 GB, free: 6.273 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01646/1.539, allocations: 3.171 MB / 1.064 GB, free: 3.172 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/1.572, allocations: 16.01 MB / 1.08 GB, free: 3.109 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007026/1.579, allocations: 4.73 MB / 1.085 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.008189/1.587, allocations: 2.058 MB / 1.087 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002262/1.589, allocations: 459.2 kB / 1.087 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of SimCode: time 1.923e-06/1.589, allocations: 4 kB / 1.087 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.1914/1.78, allocations: 113.6 MB / 1.198 GB, free: 11.26 MB / 0.8888 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: