Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.523/1.523, allocations: 289.8 MB / 297.1 MB, free: 6.609 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009837/0.0009838, allocations: 173.4 kB / 366.3 MB, free: 1.945 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 0.6256 GB, free: 7.438 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009313/0.0009312, allocations: 98.38 kB / 0.7396 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/8.025e-06, allocations: 0 / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6754/0.6754, allocations: 116.3 MB / 0.9725 GB, free: 76.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9531/1.629, allocations: 404.9 MB / 1.368 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.629, allocations: 86.02 kB / 1.368 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.991/8.62, allocations: 2.069 GB / 3.437 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001016/8.621, allocations: 171.8 kB / 3.437 GB, free: 11.16 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01849/8.639, allocations: 5.409 MB / 3.442 GB, free: 5.688 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/8.639, allocations: 8.031 kB / 3.442 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00569/8.645, allocations: 0.7805 MB / 3.443 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5551/9.2, allocations: 7.344 MB / 3.45 GB, free: 224.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004214/9.201, allocations: 179.9 kB / 3.45 GB, free: 224.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002535/9.203, allocations: 323.8 kB / 3.45 GB, free: 224.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01505/9.218, allocations: 5.671 MB / 3.456 GB, free: 224.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02854/9.247, allocations: 6.737 MB / 3.463 GB, free: 223.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003851/9.247, allocations: 20.44 kB / 3.463 GB, free: 223.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002529/9.25, allocations: 7.812 kB / 3.463 GB, free: 223.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002623/9.25, allocations: 172.8 kB / 3.463 GB, free: 223.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05641/9.307, allocations: 29.41 MB / 3.492 GB, free: 211.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005786/9.312, allocations: 3.345 MB / 3.495 GB, free: 211.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003349/9.316, allocations: 2.687 MB / 3.497 GB, free: 211.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008726/9.317, allocations: 0.8322 MB / 3.498 GB, free: 210.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/9.317, allocations: 70.33 kB / 3.498 GB, free: 210.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=267): time 4.519e-06/9.317, allocations: 0 / 3.498 GB, free: 210.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=267): time 0.007184/9.324, allocations: 3.657 MB / 3.502 GB, free: 209.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/9.324, allocations: 89.58 kB / 3.502 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008771/9.333, allocations: 3.997 MB / 3.506 GB, free: 209.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001249/9.334, allocations: 29.55 kB / 3.506 GB, free: 209.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002589/9.337, allocations: 2.151 MB / 3.508 GB, free: 208.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002266/9.339, allocations: 0.9052 MB / 3.509 GB, free: 208.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/9.339, allocations: 2.406 kB / 3.509 GB, free: 208.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000218/9.339, allocations: 456.8 kB / 3.509 GB, free: 207.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/9.342, allocations: 1.601 MB / 3.511 GB, free: 207.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/9.344, allocations: 2.836 MB / 3.514 GB, free: 206.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003338/9.348, allocations: 2.343 MB / 3.516 GB, free: 206.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-05/9.348, allocations: 13.12 kB / 3.516 GB, free: 206.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00884/9.357, allocations: 5.07 MB / 3.521 GB, free: 205.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/9.357, allocations: 6.625 kB / 3.521 GB, free: 205.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.376e-05/9.357, allocations: 38.28 kB / 3.521 GB, free: 205.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000919/9.358, allocations: 418.4 kB / 3.521 GB, free: 205.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/9.361, allocations: 0.8496 MB / 3.522 GB, free: 205.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004854/9.366, allocations: 4.992 MB / 3.527 GB, free: 203.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006223/9.372, allocations: 0.4893 MB / 3.527 GB, free: 203.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009131/9.373, allocations: 184.8 kB / 3.528 GB, free: 203.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.0009389/9.374, allocations: 227.8 kB / 3.528 GB, free: 203 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001647/9.375, allocations: 421.6 kB / 3.528 GB, free: 202.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007064/9.382, allocations: 4.052 MB / 3.532 GB, free: 202.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/9.383, allocations: 28.89 kB / 3.532 GB, free: 202.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/9.383, allocations: 3.875 kB / 3.532 GB, free: 202.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004538/9.387, allocations: 3.59 MB / 3.536 GB, free: 202.1 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/9.408, allocations: 9.507 MB / 3.545 GB, free: 201.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/9.408, allocations: 9.016 kB / 3.545 GB, free: 201.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002211/9.41, allocations: 491.5 kB / 3.546 GB, free: 201.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008023/9.411, allocations: 378.5 kB / 3.546 GB, free: 201.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/9.411, allocations: 42.2 kB / 3.546 GB, free: 201.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004592/9.416, allocations: 4.917 MB / 3.551 GB, free: 198.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/9.416, allocations: 5.594 kB / 3.551 GB, free: 198.7 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009838/9.426, allocations: 6.681 MB / 3.557 GB, free: 197.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004026/9.43, allocations: 1.121 MB / 3.558 GB, free: 197 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001706/9.432, allocations: 18.08 kB / 3.558 GB, free: 197 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004452/9.436, allocations: 227.6 kB / 3.559 GB, free: 197 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/9.436, allocations: 151.5 kB / 3.559 GB, free: 197 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004019/9.437, allocations: 128.6 kB / 3.559 GB, free: 197 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.005928/9.443, allocations: 3.054 MB / 3.562 GB, free: 196.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01003/9.453, allocations: 1.837 MB / 3.564 GB, free: 196.5 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.002158/9.455, allocations: 0.7062 MB / 3.564 GB, free: 196.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006681/9.462, allocations: 4.018 MB / 3.568 GB, free: 196.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/9.462, allocations: 3.531 kB / 3.568 GB, free: 196.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002583/9.464, allocations: 1.927 MB / 3.57 GB, free: 195.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01303/9.477, allocations: 2.229 MB / 3.572 GB, free: 195.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/9.508, allocations: 10.44 MB / 3.583 GB, free: 193.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01048/9.518, allocations: 4.759 MB / 3.587 GB, free: 193.1 MB / 0.9636 GB Notification: Performance of SimCode: time 2.976e-06/9.518, allocations: 0 / 3.587 GB, free: 193.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.1669/9.685, allocations: 85.51 MB / 3.671 GB, free: 189.2 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)