Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") [: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.002078/0.002078, allocations: 173.4 kB / 7.457 MB, free: 2.16 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6007/0.6007, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.16/1.16, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008571/0.0008571, allocations: 95.48 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.722e-06/6.742e-06, allocations: 3.094 kB / 0.5528 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1242, allocations: 82.29 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7505/0.8747, allocations: 380.3 MB / 1.005 GB, free: 253.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.8749, allocations: 94.41 kB / 1.005 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.701/6.576, allocations: 2.227 GB / 3.232 GB, free: 77.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007757/6.577, allocations: 192.8 kB / 3.232 GB, free: 77.45 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01274/6.589, allocations: 6.089 MB / 3.238 GB, free: 75.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/6.589, allocations: 12.03 kB / 3.238 GB, free: 75.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002679/6.592, allocations: 0.8474 MB / 3.239 GB, free: 74.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/6.605, allocations: 8.019 MB / 3.246 GB, free: 73.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/6.606, allocations: 193.3 kB / 3.247 GB, free: 73.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000729/6.606, allocations: 358 kB / 3.247 GB, free: 73.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009691/6.616, allocations: 6.502 MB / 3.253 GB, free: 71.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/6.626, allocations: 7.591 MB / 3.261 GB, free: 68.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/6.627, allocations: 24.62 kB / 3.261 GB, free: 68.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005157/6.627, allocations: 10.56 kB / 3.261 GB, free: 68.38 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/6.627, allocations: 251.9 kB / 3.261 GB, free: 68.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03374/6.661, allocations: 33.92 MB / 3.294 GB, free: 44.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/6.666, allocations: 3.971 MB / 3.298 GB, free: 42 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/6.668, allocations: 3.16 MB / 3.301 GB, free: 38.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008929/6.669, allocations: 0.9619 MB / 3.302 GB, free: 37.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002397/6.672, allocations: 2.243 MB / 3.304 GB, free: 35.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 4.559e-06/6.672, allocations: 0 / 3.304 GB, free: 35.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.006417/6.678, allocations: 4.757 MB / 3.309 GB, free: 30.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/6.678, allocations: 85.91 kB / 3.309 GB, free: 30.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/6.683, allocations: 4.421 MB / 3.313 GB, free: 26.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/6.683, allocations: 29.7 kB / 3.313 GB, free: 26.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002122/6.685, allocations: 2.43 MB / 3.316 GB, free: 23.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/6.687, allocations: 1.076 MB / 3.317 GB, free: 22.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/6.687, allocations: 4 kB / 3.317 GB, free: 22.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001999/6.687, allocations: 491.6 kB / 3.317 GB, free: 22.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/6.689, allocations: 2.051 MB / 3.319 GB, free: 19.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002529/6.692, allocations: 3.57 MB / 3.323 GB, free: 15.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003647/6.696, allocations: 3.12 MB / 3.326 GB, free: 12.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.751e-05/6.696, allocations: 12 kB / 3.326 GB, free: 12.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008471/6.704, allocations: 6.461 MB / 3.332 GB, free: 6.055 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/6.704, allocations: 7.906 kB / 3.332 GB, free: 6.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.595e-05/6.704, allocations: 48 kB / 3.332 GB, free: 6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007979/6.705, allocations: 436.9 kB / 3.333 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/6.708, allocations: 1.022 MB / 3.334 GB, free: 4.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/6.713, allocations: 5.013 MB / 3.338 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005241/6.718, allocations: 0.5964 MB / 3.339 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004936/6.718, allocations: 220 kB / 3.339 GB, free: 14.49 MB / 0.7136 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 () * 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.0008264/6.719, allocations: 247.4 kB / 3.339 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000996/6.72, allocations: 478.2 kB / 3.34 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008531/6.729, allocations: 5.296 MB / 3.345 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/6.729, allocations: 35.94 kB / 3.345 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/6.729, allocations: 4 kB / 3.345 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006391/6.735, allocations: 4.643 MB / 3.35 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2614/6.996, allocations: 11.52 MB / 3.361 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/6.997, allocations: 7.422 kB / 3.361 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002652/6.999, allocations: 0.6108 MB / 3.362 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006899/7, allocations: 368.9 kB / 3.362 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/7, allocations: 46.97 kB / 3.362 GB, free: 150.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003937/7.004, allocations: 4.921 MB / 3.367 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/7.004, allocations: 2.156 kB / 3.367 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009446/7.014, allocations: 7.962 MB / 3.375 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/7.017, allocations: 1.256 MB / 3.376 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009879/7.018, allocations: 24.7 kB / 3.376 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003199/7.021, allocations: 314.8 kB / 3.376 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/7.022, allocations: 172.9 kB / 3.376 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/7.022, allocations: 137 kB / 3.376 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.003996/7.026, allocations: 3.362 MB / 3.38 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006153/7.032, allocations: 2.025 MB / 3.382 GB, free: 147.5 MB / 0.7136 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) * 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.001305/7.033, allocations: 0.7793 MB / 3.382 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005609/7.039, allocations: 5.101 MB / 3.387 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/7.039, allocations: 3.5 kB / 3.387 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/7.041, allocations: 2.405 MB / 3.39 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01021/7.052, allocations: 2.367 MB / 3.392 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/7.068, allocations: 11.73 MB / 3.403 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004648/7.073, allocations: 5.186 MB / 3.409 GB, free: 144 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/7.073, allocations: 1.531 kB / 3.409 GB, free: 144 MB / 0.7136 GB Notification: Performance of Templates: time 0.1222/7.195, allocations: 95.95 MB / 3.502 GB, free: 139.1 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)