Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001546/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001825/0.001825, allocations: 190.8 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 66 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4296, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05966/0.4894, allocations: 55.67 MB / 1.122 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03007/0.5195, allocations: 17.93 MB / 1.139 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004094/0.5236, allocations: 67.62 kB / 1.139 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003606/0.5273, allocations: 0.7224 MB / 1.14 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008165/0.5355, allocations: 2.325 MB / 1.142 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004623/0.5401, allocations: 1.384 MB / 1.144 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02977/0.5699, allocations: 27.81 MB / 1.171 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01537/0.5853, allocations: 8.705 MB / 1.179 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01322/0.5986, allocations: 5.521 MB / 1.185 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01234/0.6109, allocations: 6.178 MB / 1.191 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.003257/0.6142, allocations: 472 kB / 1.191 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007329/0.6216, allocations: 1.151 MB / 1.192 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.004399/0.626, allocations: 1.802 MB / 1.194 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01192/0.6379, allocations: 4.114 MB / 1.198 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.02039/0.6584, allocations: 12.63 MB / 1.211 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.6584, allocations: 0 / 1.211 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6585, allocations: 4 kB / 1.211 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0006943/0.6592, allocations: 0 / 1.211 GB, free: 7.898 MB / 0.9669 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.02733/0.6865, allocations: 8.495 MB / 1.219 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.6866, allocations: 8.031 kB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005267/0.6918, allocations: 0.8664 MB / 1.22 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01777/0.7096, allocations: 6.614 MB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007514/0.7104, allocations: 464.3 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004288/0.7148, allocations: 0.5975 MB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04133/0.7562, allocations: 9.032 MB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004428/0.7567, allocations: 15.88 kB / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003453/0.7602, allocations: 268 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004183/0.7606, allocations: 183.9 kB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03301/0.7937, allocations: 7.445 MB / 1.244 GB, free: 5.434 MB / 0.9981 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.7465/1.54, allocations: 35.91 MB / 1.279 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00795/1.548, allocations: 4.273 MB / 1.283 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005142/1.553, allocations: 3.312 MB / 1.286 GB, free: 143.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.555, allocations: 0.9542 MB / 1.287 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004459/1.559, allocations: 2.384 MB / 1.289 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003741/1.563, allocations: 449.7 kB / 1.29 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 1.219e-05/1.563, allocations: 0 / 1.29 GB, free: 141.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01396/1.577, allocations: 7.1 MB / 1.297 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/1.577, allocations: 89 kB / 1.297 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/1.587, allocations: 5.46 MB / 1.302 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009699/1.588, allocations: 90.94 kB / 1.302 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003063/1.591, allocations: 3.197 MB / 1.305 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001986/1.593, allocations: 1.106 MB / 1.307 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0014/1.595, allocations: 0.862 MB / 1.307 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/1.595, allocations: 301.1 kB / 1.308 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/1.598, allocations: 2.153 MB / 1.31 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003537/1.602, allocations: 3.691 MB / 1.313 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007293/1.609, allocations: 6.299 MB / 1.32 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.875e-05/1.609, allocations: 22.12 kB / 1.32 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01125/1.62, allocations: 6.76 MB / 1.326 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/1.62, allocations: 52.2 kB / 1.326 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-05/1.621, allocations: 49.41 kB / 1.326 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009545/1.622, allocations: 429.3 kB / 1.327 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003241/1.625, allocations: 1.009 MB / 1.328 GB, free: 117.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/1.629, allocations: 5.269 MB / 1.333 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006138/1.635, allocations: 466.8 kB / 1.333 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008169/1.636, allocations: 216 kB / 1.333 GB, free: 111.6 MB / 0.9981 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.005138/1.641, allocations: 2.483 MB / 1.336 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002224/1.644, allocations: 0.5249 MB / 1.336 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/1.654, allocations: 5.253 MB / 1.341 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-05/1.654, allocations: 32 kB / 1.342 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-05/1.654, allocations: 4 kB / 1.342 GB, free: 103.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006521/1.66, allocations: 4.521 MB / 1.346 GB, free: 98.66 MB / 0.9981 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.03075/1.691, allocations: 11.96 MB / 1.358 GB, free: 86.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/1.691, allocations: 4 kB / 1.358 GB, free: 86.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002933/1.694, allocations: 0.6437 MB / 1.358 GB, free: 85.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000905/1.695, allocations: 373.3 kB / 1.359 GB, free: 85.58 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005875/1.696, allocations: 83.95 kB / 1.359 GB, free: 85.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/1.7, allocations: 5.181 MB / 1.364 GB, free: 80.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.7, allocations: 4 kB / 1.364 GB, free: 80.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.713, allocations: 7.615 MB / 1.371 GB, free: 72.35 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00403/1.717, allocations: 1.131 MB / 1.372 GB, free: 71.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002177/1.719, allocations: 63.98 kB / 1.372 GB, free: 71.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005488/1.724, allocations: 470.7 kB / 1.373 GB, free: 70.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006596/1.725, allocations: 206.1 kB / 1.373 GB, free: 70.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005702/1.726, allocations: 139.9 kB / 1.373 GB, free: 70.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00727/1.733, allocations: 3.807 MB / 1.377 GB, free: 66.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.733, allocations: 4 kB / 1.377 GB, free: 66.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008842/1.742, allocations: 1.978 MB / 1.379 GB, free: 64.59 MB / 0.9981 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.001987/1.744, allocations: 492.9 kB / 1.379 GB, free: 64.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009755/1.754, allocations: 5.374 MB / 1.384 GB, free: 58.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.754, allocations: 0 / 1.384 GB, free: 58.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004479/1.758, allocations: 2.506 MB / 1.387 GB, free: 56.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01956/1.778, allocations: 3.218 MB / 1.39 GB, free: 53.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03047/1.808, allocations: 16.45 MB / 1.406 GB, free: 36.53 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006642/1.815, allocations: 4.634 MB / 1.411 GB, free: 31.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.008367/1.823, allocations: 1.987 MB / 1.413 GB, free: 29.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00257/1.826, allocations: 463.2 kB / 1.413 GB, free: 29.42 MB / 0.9981 GB Notification: Performance of SimCode: time 1.293e-06/1.826, allocations: 0 / 1.413 GB, free: 29.42 MB / 0.9981 GB Notification: Performance of Templates: time 0.2003/2.026, allocations: 115.9 MB / 1.526 GB, free: 10.47 MB / 1.092 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)