Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.003773/0.003773, allocations: 178.5 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6856/0.6856, allocations: 130.6 MB / 138.5 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.797/1.797, allocations: 221.3 MB / 391.4 MB, free: 13.12 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.001095/0.001095, allocations: 101.6 kB / 473.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.738e-06, allocations: 3.969 kB / 0.5479 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2357, allocations: 81.57 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.523/1.759, allocations: 380.1 MB / 0.9987 GB, free: 188 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004616/1.76, allocations: 83.89 kB / 0.9988 GB, free: 188 MB / 0.6667 GB Notification: Performance of FrontEnd: time 8.964/10.72, allocations: 2.227 GB / 3.226 GB, free: 72.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001971/10.73, allocations: 197.9 kB / 3.226 GB, free: 72.84 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.03016/10.76, allocations: 6.091 MB / 3.232 GB, free: 70.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/10.76, allocations: 11.56 kB / 3.232 GB, free: 70.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008623/10.76, allocations: 0.8567 MB / 3.233 GB, free: 69.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02779/10.79, allocations: 8.017 MB / 3.241 GB, free: 66.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008569/10.79, allocations: 196 kB / 3.241 GB, free: 66.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004043/10.8, allocations: 355.2 kB / 3.241 GB, free: 66.67 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02348/10.82, allocations: 6.509 MB / 3.247 GB, free: 64.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02772/10.85, allocations: 7.591 MB / 3.255 GB, free: 57.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005018/10.85, allocations: 19.88 kB / 3.255 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0028/10.85, allocations: 8 kB / 3.255 GB, free: 57.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002375/10.85, allocations: 254 kB / 3.255 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06741/10.92, allocations: 33.92 MB / 3.288 GB, free: 22.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006875/10.93, allocations: 3.967 MB / 3.292 GB, free: 18.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005097/10.93, allocations: 3.154 MB / 3.295 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/10.93, allocations: 0.9638 MB / 3.296 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004377/10.94, allocations: 2.249 MB / 3.298 GB, free: 11.92 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 6.713e-06/10.94, allocations: 2.844 kB / 3.298 GB, free: 11.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.01054/10.95, allocations: 4.757 MB / 3.303 GB, free: 7.121 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/10.95, allocations: 89.91 kB / 3.303 GB, free: 7.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/10.96, allocations: 4.413 MB / 3.307 GB, free: 2.609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001035/10.96, allocations: 29.7 kB / 3.307 GB, free: 2.574 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003791/10.96, allocations: 2.424 MB / 3.31 GB, free: 124 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.4181/11.38, allocations: 1.078 MB / 3.311 GB, free: 130.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004413/11.38, allocations: 0 / 3.311 GB, free: 130.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003448/11.38, allocations: 497.7 kB / 3.311 GB, free: 130.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002741/11.39, allocations: 2.057 MB / 3.313 GB, free: 130.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003185/11.39, allocations: 3.559 MB / 3.317 GB, free: 128.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/11.39, allocations: 3.122 MB / 3.32 GB, free: 128.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.972e-05/11.39, allocations: 17.69 kB / 3.32 GB, free: 128.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01205/11.41, allocations: 6.454 MB / 3.326 GB, free: 128.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/11.41, allocations: 5.031 kB / 3.326 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.722e-05/11.41, allocations: 48.97 kB / 3.326 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009679/11.41, allocations: 431.9 kB / 3.327 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/11.41, allocations: 1.028 MB / 3.328 GB, free: 128.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005097/11.42, allocations: 5.017 MB / 3.333 GB, free: 125.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008081/11.42, allocations: 0.5939 MB / 3.333 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/11.43, allocations: 220.8 kB / 3.333 GB, free: 125.5 MB / 0.698 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.001349/11.43, allocations: 249.1 kB / 3.334 GB, free: 125.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/11.43, allocations: 481 kB / 3.334 GB, free: 125.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00972/11.44, allocations: 5.302 MB / 3.339 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/11.44, allocations: 35.56 kB / 3.339 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/11.44, allocations: 3.375 kB / 3.339 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006861/11.45, allocations: 4.633 MB / 3.344 GB, free: 124.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02882/11.47, allocations: 11.53 MB / 3.355 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/11.47, allocations: 0 / 3.355 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/11.48, allocations: 0.6093 MB / 3.356 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000796/11.48, allocations: 374.8 kB / 3.356 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/11.48, allocations: 39.89 kB / 3.356 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004625/11.48, allocations: 4.92 MB / 3.361 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/11.48, allocations: 3.219 kB / 3.361 GB, free: 121.1 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01239/11.5, allocations: 7.971 MB / 3.369 GB, free: 120.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005078/11.5, allocations: 1.262 MB / 3.37 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/11.5, allocations: 17.34 kB / 3.37 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006/11.51, allocations: 316.9 kB / 3.37 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000731/11.51, allocations: 171.8 kB / 3.37 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005314/11.51, allocations: 141.3 kB / 3.37 GB, free: 119.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.006669/11.52, allocations: 3.362 MB / 3.374 GB, free: 119.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01229/11.53, allocations: 2.023 MB / 3.376 GB, free: 119.6 MB / 0.698 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.002605/11.53, allocations: 0.7776 MB / 3.377 GB, free: 119.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008504/11.54, allocations: 5.096 MB / 3.381 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/11.54, allocations: 3.906 kB / 3.381 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003463/11.54, allocations: 2.407 MB / 3.384 GB, free: 119 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01393/11.56, allocations: 2.375 MB / 3.386 GB, free: 118.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/11.59, allocations: 11.73 MB / 3.398 GB, free: 117 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00801/11.59, allocations: 5.182 MB / 3.403 GB, free: 116.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.585e-06/11.59, allocations: 0 / 3.403 GB, free: 116.1 MB / 0.698 GB Notification: Performance of Templates: time 0.1561/11.75, allocations: 95.95 MB / 3.496 GB, free: 111.1 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)