Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002989/0.002989, allocations: 182 kB / 7.456 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7115/0.7115, allocations: 130.6 MB / 138.5 MB, free: 2.156 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.891/1.891, allocations: 221.3 MB / 391.4 MB, free: 13.14 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.001558/0.001558, allocations: 99.7 kB / 473.4 MB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.127e-06/9.157e-06, allocations: 2.031 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2376, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.498/1.736, allocations: 377.5 MB / 0.9962 GB, free: 234.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/1.736, allocations: 85.45 kB / 0.9963 GB, free: 234.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 8.691/10.43, allocations: 2.111 GB / 3.107 GB, free: 89.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001036/10.43, allocations: 182.3 kB / 3.107 GB, free: 89.67 MB / 0.6823 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.01853/10.45, allocations: 5.454 MB / 3.112 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/10.45, allocations: 8.344 kB / 3.112 GB, free: 87.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/10.45, allocations: 0.7804 MB / 3.113 GB, free: 87.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/10.47, allocations: 7.575 MB / 3.12 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/10.47, allocations: 180.3 kB / 3.121 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/10.47, allocations: 323.8 kB / 3.121 GB, free: 86.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0141/10.49, allocations: 5.674 MB / 3.126 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02051/10.51, allocations: 6.741 MB / 3.133 GB, free: 85.69 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001833/10.51, allocations: 23.48 kB / 3.133 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008529/10.51, allocations: 10.72 kB / 3.133 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/10.51, allocations: 221.6 kB / 3.133 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04841/10.56, allocations: 29.4 MB / 3.162 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005276/10.56, allocations: 3.349 MB / 3.165 GB, free: 68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003579/10.57, allocations: 2.696 MB / 3.168 GB, free: 67.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009571/10.57, allocations: 0.8257 MB / 3.169 GB, free: 66.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.075e-05/10.57, allocations: 75.88 kB / 3.169 GB, free: 66.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=267): time 5.52e-06/10.57, allocations: 0 / 3.169 GB, free: 66.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=267): time 0.00826/10.58, allocations: 3.676 MB / 3.172 GB, free: 64.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/10.58, allocations: 78.58 kB / 3.172 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008392/10.58, allocations: 4.065 MB / 3.176 GB, free: 63.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008954/10.58, allocations: 31.14 kB / 3.176 GB, free: 63.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002135/10.59, allocations: 2.16 MB / 3.179 GB, free: 61.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002065/10.59, allocations: 0.9051 MB / 3.179 GB, free: 61.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/10.59, allocations: 0 / 3.179 GB, free: 61.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002496/10.59, allocations: 457.9 kB / 3.18 GB, free: 60.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/10.59, allocations: 1.602 MB / 3.181 GB, free: 60.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/10.6, allocations: 2.84 MB / 3.184 GB, free: 58.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00488/10.6, allocations: 2.349 MB / 3.187 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.281e-05/10.6, allocations: 11.81 kB / 3.187 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01099/10.61, allocations: 5.073 MB / 3.191 GB, free: 53.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/10.61, allocations: 4 kB / 3.192 GB, free: 53.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.89e-05/10.61, allocations: 40 kB / 3.192 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009117/10.61, allocations: 428.8 kB / 3.192 GB, free: 53.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/10.62, allocations: 0.8543 MB / 3.193 GB, free: 52.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/10.62, allocations: 4.968 MB / 3.198 GB, free: 48.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006537/10.63, allocations: 0.4892 MB / 3.198 GB, free: 47.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009888/10.63, allocations: 191.5 kB / 3.198 GB, free: 47.52 MB / 0.6823 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.001063/10.63, allocations: 223.1 kB / 3.199 GB, free: 47.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002078/10.63, allocations: 430.8 kB / 3.199 GB, free: 46.87 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008626/10.64, allocations: 4.071 MB / 3.203 GB, free: 43.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-05/10.64, allocations: 24.66 kB / 3.203 GB, free: 43.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/10.64, allocations: 4 kB / 3.203 GB, free: 43.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005211/10.65, allocations: 3.58 MB / 3.206 GB, free: 40.31 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/10.67, allocations: 9.547 MB / 3.216 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/10.67, allocations: 4 kB / 3.216 GB, free: 32.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/10.67, allocations: 499.2 kB / 3.216 GB, free: 31.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000783/10.67, allocations: 370.6 kB / 3.217 GB, free: 31.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/10.67, allocations: 47.86 kB / 3.217 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004618/10.68, allocations: 4.913 MB / 3.221 GB, free: 26.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/10.68, allocations: 7.938 kB / 3.221 GB, free: 26.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009608/10.69, allocations: 6.692 MB / 3.228 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004329/10.69, allocations: 1.116 MB / 3.229 GB, free: 18.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001763/10.69, allocations: 19.98 kB / 3.229 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004384/10.7, allocations: 225.4 kB / 3.229 GB, free: 17.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/10.7, allocations: 147.9 kB / 3.229 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003712/10.7, allocations: 127.9 kB / 3.23 GB, free: 17.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.005115/10.7, allocations: 3.116 MB / 3.233 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009266/10.71, allocations: 1.845 MB / 3.234 GB, free: 12.59 MB / 0.6823 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.002126/10.71, allocations: 0.6884 MB / 3.235 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006299/10.72, allocations: 4.018 MB / 3.239 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/10.72, allocations: 4 kB / 3.239 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002391/10.72, allocations: 1.92 MB / 3.241 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01342/10.74, allocations: 2.257 MB / 3.243 GB, free: 3.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/10.77, allocations: 10.51 MB / 3.253 GB, free: 9.375 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009322/10.78, allocations: 4.796 MB / 3.258 GB, free: 4.555 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/10.78, allocations: 0 / 3.258 GB, free: 4.555 MB / 0.698 GB Notification: Performance of Templates: time 0.5449/11.32, allocations: 85.5 MB / 3.342 GB, free: 144.6 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)