Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008468/0.0008468, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005704/0.005704, allocations: 170 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003955, allocations: 10 kB / 0.9158 GB, free: 32.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3843, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05326/0.4376, allocations: 54.55 MB / 1.127 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02628/0.464, allocations: 17.74 MB / 1.145 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004385/0.4684, allocations: 63.62 kB / 1.145 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.4718, allocations: 0.7185 MB / 1.145 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009046/0.4808, allocations: 2.337 MB / 1.148 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004585/0.4854, allocations: 1.377 MB / 1.149 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02798/0.5134, allocations: 27.8 MB / 1.176 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01294/0.5264, allocations: 8.417 MB / 1.184 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/0.5398, allocations: 5.209 MB / 1.19 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01422/0.554, allocations: 5.783 MB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.002495/0.5566, allocations: 348 kB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007182/0.5638, allocations: 1.033 MB / 1.197 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.003414/0.5672, allocations: 1.595 MB / 1.198 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.01049/0.5778, allocations: 3.889 MB / 1.202 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01801/0.5958, allocations: 12.3 MB / 1.214 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.5958, allocations: 0 / 1.214 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5959, allocations: 4 kB / 1.214 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0005056/0.5964, allocations: 0 / 1.214 GB, free: 7.812 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.01822/0.6146, allocations: 6.879 MB / 1.221 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.6147, allocations: 8.031 kB / 1.221 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.6197, allocations: 0.8588 MB / 1.221 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/0.6347, allocations: 6.617 MB / 1.228 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005141/0.6352, allocations: 464.3 kB / 1.228 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002237/0.6375, allocations: 0.5937 MB / 1.229 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/0.6592, allocations: 9.028 MB / 1.238 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.6594, allocations: 19.78 kB / 1.238 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009363/0.6603, allocations: 260 kB / 1.238 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.6605, allocations: 183.9 kB / 1.238 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.678, allocations: 7.457 MB / 1.246 GB, free: 6.969 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.7899/1.468, allocations: 35.98 MB / 1.281 GB, free: 142.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008106/1.476, allocations: 4.296 MB / 1.285 GB, free: 141.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005883/1.482, allocations: 3.332 MB / 1.288 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.483, allocations: 0.983 MB / 1.289 GB, free: 139.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004435/1.488, allocations: 2.39 MB / 1.291 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003096/1.491, allocations: 447 kB / 1.292 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=317): time 8.717e-06/1.491, allocations: 0 / 1.292 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=317): time 0.01412/1.505, allocations: 7.137 MB / 1.299 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/1.505, allocations: 84.31 kB / 1.299 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009571/1.515, allocations: 5.471 MB / 1.304 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009853/1.516, allocations: 86.67 kB / 1.304 GB, free: 133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002951/1.519, allocations: 3.193 MB / 1.307 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001898/1.521, allocations: 1.115 MB / 1.308 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005811/1.521, allocations: 366.3 kB / 1.309 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.459e-05/1.521, allocations: 302.3 kB / 1.309 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/1.525, allocations: 2.159 MB / 1.311 GB, free: 127.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003659/1.528, allocations: 3.702 MB / 1.315 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006969/1.535, allocations: 6.306 MB / 1.321 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.079e-05/1.535, allocations: 14.28 kB / 1.321 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01034/1.546, allocations: 6.769 MB / 1.328 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/1.546, allocations: 55.61 kB / 1.328 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.89e-05/1.546, allocations: 48.53 kB / 1.328 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009139/1.547, allocations: 437.5 kB / 1.328 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003381/1.55, allocations: 1.014 MB / 1.329 GB, free: 115.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004358/1.555, allocations: 5.268 MB / 1.334 GB, free: 111.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006029/1.561, allocations: 471.6 kB / 1.335 GB, free: 110.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007456/1.561, allocations: 217.5 kB / 1.335 GB, free: 110.5 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.004485/1.566, allocations: 2.483 MB / 1.337 GB, free: 108 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001528/1.567, allocations: 0.5249 MB / 1.338 GB, free: 107.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007625/1.575, allocations: 5.256 MB / 1.343 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.831e-05/1.575, allocations: 35.98 kB / 1.343 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.575, allocations: 4 kB / 1.343 GB, free: 102.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005352/1.581, allocations: 4.532 MB / 1.347 GB, free: 97.52 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.02167/1.602, allocations: 11.99 MB / 1.359 GB, free: 85.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.602, allocations: 0 / 1.359 GB, free: 85.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/1.605, allocations: 0.6516 MB / 1.36 GB, free: 84.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007412/1.606, allocations: 375 kB / 1.36 GB, free: 84.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/1.606, allocations: 87.8 kB / 1.36 GB, free: 84.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/1.61, allocations: 5.184 MB / 1.365 GB, free: 78.88 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/1.61, allocations: 4 kB / 1.365 GB, free: 78.87 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01032/1.62, allocations: 7.627 MB / 1.373 GB, free: 71.15 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0035/1.624, allocations: 1.221 MB / 1.374 GB, free: 69.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/1.625, allocations: 63.98 kB / 1.374 GB, free: 69.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004526/1.63, allocations: 468 kB / 1.374 GB, free: 69.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004315/1.63, allocations: 202.2 kB / 1.375 GB, free: 69.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003098/1.63, allocations: 143.9 kB / 1.375 GB, free: 69.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006027/1.636, allocations: 3.803 MB / 1.379 GB, free: 65.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.52e-07/1.636, allocations: 0 / 1.379 GB, free: 65.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008488/1.645, allocations: 1.99 MB / 1.38 GB, free: 63.29 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.00142/1.646, allocations: 494.1 kB / 1.381 GB, free: 62.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007508/1.654, allocations: 5.381 MB / 1.386 GB, free: 57.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.654, allocations: 4.938 kB / 1.386 GB, free: 57.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003381/1.657, allocations: 2.514 MB / 1.389 GB, free: 54.86 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0183/1.676, allocations: 3.22 MB / 1.392 GB, free: 51.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/1.697, allocations: 16.69 MB / 1.408 GB, free: 34.97 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003746/1.7, allocations: 4.624 MB / 1.413 GB, free: 30.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00642/1.707, allocations: 1.994 MB / 1.415 GB, free: 28.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.708, allocations: 463.2 kB / 1.415 GB, free: 27.87 MB / 0.9981 GB Notification: Performance of SimCode: time 1.292e-06/1.708, allocations: 0 / 1.415 GB, free: 27.87 MB / 0.9981 GB Notification: Performance of Templates: time 0.194/1.902, allocations: 114.9 MB / 1.527 GB, free: 9.977 MB / 1.092 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)