Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 175.9 kB / 7.46 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6184/0.6184, allocations: 133.5 MB / 141.4 MB, free: 15.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 221.3 MB / 395 MB, free: 10.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008819, allocations: 94.73 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.262e-06, allocations: 0 / 0.5528 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 82.3 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7714/0.8897, allocations: 377.7 MB / 1.002 GB, free: 255.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.8899, allocations: 86.55 kB / 1.002 GB, free: 255.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.498/6.388, allocations: 2.11 GB / 3.113 GB, free: 79.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006801/6.388, allocations: 177.8 kB / 3.113 GB, free: 79.61 MB / 0.698 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.01279/6.401, allocations: 5.458 MB / 3.118 GB, free: 77.94 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/6.401, allocations: 11.7 kB / 3.118 GB, free: 77.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/6.405, allocations: 0.7827 MB / 3.119 GB, free: 77.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/6.42, allocations: 7.574 MB / 3.126 GB, free: 76.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/6.421, allocations: 177.6 kB / 3.127 GB, free: 76.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/6.422, allocations: 325.1 kB / 3.127 GB, free: 76.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009298/6.431, allocations: 5.67 MB / 3.132 GB, free: 76.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009772/6.441, allocations: 6.751 MB / 3.139 GB, free: 76.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/6.441, allocations: 12.75 kB / 3.139 GB, free: 76.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005165/6.441, allocations: 14.28 kB / 3.139 GB, free: 76.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/6.442, allocations: 232.4 kB / 3.139 GB, free: 75.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/6.474, allocations: 29.41 MB / 3.168 GB, free: 63.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/6.478, allocations: 3.348 MB / 3.171 GB, free: 63.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/6.481, allocations: 2.691 MB / 3.174 GB, free: 63.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/6.482, allocations: 0.8345 MB / 3.175 GB, free: 62.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/6.482, allocations: 66.92 kB / 3.175 GB, free: 62.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 4.699e-06/6.482, allocations: 0 / 3.175 GB, free: 62.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.006438/6.488, allocations: 3.664 MB / 3.178 GB, free: 61.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/6.488, allocations: 84.72 kB / 3.178 GB, free: 61.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007241/6.496, allocations: 4.07 MB / 3.182 GB, free: 61.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005731/6.496, allocations: 28.73 kB / 3.182 GB, free: 61.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001957/6.498, allocations: 2.158 MB / 3.184 GB, free: 60.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/6.5, allocations: 0.9057 MB / 3.185 GB, free: 59.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/6.5, allocations: 0 / 3.185 GB, free: 59.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002675/6.501, allocations: 465 kB / 3.186 GB, free: 59.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/6.503, allocations: 1.604 MB / 3.187 GB, free: 59.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/6.505, allocations: 2.833 MB / 3.19 GB, free: 57.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/6.509, allocations: 2.34 MB / 3.192 GB, free: 57.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.658e-05/6.509, allocations: 9.625 kB / 3.192 GB, free: 57.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007893/6.517, allocations: 5.076 MB / 3.197 GB, free: 57.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/6.517, allocations: 3.781 kB / 3.197 GB, free: 57.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.707e-05/6.517, allocations: 38.84 kB / 3.197 GB, free: 57.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008562/6.517, allocations: 423 kB / 3.198 GB, free: 57.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/6.52, allocations: 0.8558 MB / 3.199 GB, free: 57.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/6.525, allocations: 4.982 MB / 3.204 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/6.529, allocations: 0.4893 MB / 3.204 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005452/6.53, allocations: 177.6 kB / 3.204 GB, free: 54.61 MB / 0.698 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.0009553/6.531, allocations: 228.1 kB / 3.204 GB, free: 54.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/6.532, allocations: 425.4 kB / 3.205 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006819/6.539, allocations: 4.068 MB / 3.209 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/6.539, allocations: 30.33 kB / 3.209 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/6.539, allocations: 7.875 kB / 3.209 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004472/6.544, allocations: 3.582 MB / 3.212 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/6.561, allocations: 9.549 MB / 3.222 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/6.562, allocations: 3.969 kB / 3.222 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/6.564, allocations: 497.5 kB / 3.222 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007259/6.564, allocations: 364.3 kB / 3.222 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/6.565, allocations: 43.14 kB / 3.222 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004135/6.569, allocations: 4.923 MB / 3.227 GB, free: 50.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/6.569, allocations: 7.062 kB / 3.227 GB, free: 50.22 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0083/6.577, allocations: 6.688 MB / 3.234 GB, free: 48.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00292/6.58, allocations: 1.125 MB / 3.235 GB, free: 48.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/6.581, allocations: 24.47 kB / 3.235 GB, free: 48.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/6.585, allocations: 223 kB / 3.235 GB, free: 48.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/6.585, allocations: 146 kB / 3.235 GB, free: 48.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003562/6.585, allocations: 129.7 kB / 3.235 GB, free: 48.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.004886/6.59, allocations: 3.112 MB / 3.238 GB, free: 48.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00695/6.597, allocations: 1.836 MB / 3.24 GB, free: 47.97 MB / 0.698 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.001562/6.599, allocations: 0.698 MB / 3.241 GB, free: 47.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005495/6.604, allocations: 4.029 MB / 3.245 GB, free: 47.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/6.604, allocations: 3.438 kB / 3.245 GB, free: 47.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002285/6.607, allocations: 1.921 MB / 3.247 GB, free: 47.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01053/6.617, allocations: 2.244 MB / 3.249 GB, free: 47.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01935/6.637, allocations: 10.52 MB / 3.259 GB, free: 45.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005462/6.642, allocations: 4.792 MB / 3.264 GB, free: 44.54 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/6.642, allocations: 2.781 kB / 3.264 GB, free: 44.54 MB / 0.698 GB Notification: Performance of Templates: time 0.1194/6.762, allocations: 85.51 MB / 3.347 GB, free: 11.53 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)