Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001008/0.001008, allocations: 183.4 kB / 7.805 MB, free: 120 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4483/0.4483, allocations: 90.85 MB / 99.07 MB, free: 3.281 MB / 78.07 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 221.4 MB / 342.8 MB, free: 10.24 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00098/0.0009804, allocations: 98.77 kB / 415.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.824e-06, allocations: 4 kB / 493.9 MB, free: 12.31 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3426, allocations: 72.3 MB / 0.5529 GB, free: 74.36 MB / 446.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5581/0.9008, allocations: 368 MB / 0.9123 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.9011, allocations: 84.27 kB / 0.9124 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.425/7.326, allocations: 2.137 GB / 3.05 GB, free: 63.1 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0008/7.327, allocations: 178 kB / 3.05 GB, free: 63.07 MB / 0.6387 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.01514/7.342, allocations: 5.452 MB / 3.055 GB, free: 59.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/7.342, allocations: 9.469 kB / 3.055 GB, free: 59.66 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00462/7.347, allocations: 0.7896 MB / 3.056 GB, free: 59.27 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/7.363, allocations: 7.56 MB / 3.063 GB, free: 53.4 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/7.364, allocations: 176 kB / 3.063 GB, free: 53.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/7.365, allocations: 320 kB / 3.064 GB, free: 52.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01031/7.375, allocations: 5.672 MB / 3.069 GB, free: 47.24 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/7.386, allocations: 6.745 MB / 3.076 GB, free: 40.26 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/7.387, allocations: 27.86 kB / 3.076 GB, free: 40.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005878/7.387, allocations: 8 kB / 3.076 GB, free: 40.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/7.387, allocations: 226.2 kB / 3.076 GB, free: 40.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03407/7.421, allocations: 29.42 MB / 3.105 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00425/7.426, allocations: 3.348 MB / 3.108 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003008/7.429, allocations: 2.688 MB / 3.111 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008201/7.43, allocations: 0.8288 MB / 3.112 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/7.43, allocations: 76.45 kB / 3.112 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=267): time 4.678e-06/7.43, allocations: 0 / 3.112 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of matching and sorting (n=267): time 0.006255/7.436, allocations: 3.669 MB / 3.115 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/7.436, allocations: 85.52 kB / 3.115 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006619/7.443, allocations: 4.067 MB / 3.119 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0005125/7.443, allocations: 29.7 kB / 3.119 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001871/7.445, allocations: 2.152 MB / 3.121 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001718/7.447, allocations: 0.9048 MB / 3.122 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/7.447, allocations: 0 / 3.122 GB, free: 7.496 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002321/7.447, allocations: 457.9 kB / 3.123 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/7.449, allocations: 1.6 MB / 3.124 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/7.452, allocations: 2.842 MB / 3.127 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2285/7.681, allocations: 2.343 MB / 3.129 GB, free: 154.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.813e-05/7.681, allocations: 11.72 kB / 3.129 GB, free: 154.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.0101/7.691, allocations: 5.072 MB / 3.134 GB, free: 154.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/7.691, allocations: 3.812 kB / 3.134 GB, free: 154.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.441e-05/7.691, allocations: 45.59 kB / 3.134 GB, free: 154.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008945/7.692, allocations: 417.9 kB / 3.135 GB, free: 154.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/7.695, allocations: 0.8502 MB / 3.136 GB, free: 154.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004515/7.699, allocations: 4.984 MB / 3.14 GB, free: 152.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004721/7.704, allocations: 0.4906 MB / 3.141 GB, free: 152.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004328/7.705, allocations: 187.8 kB / 3.141 GB, free: 152.3 MB / 0.6544 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.0007339/7.705, allocations: 223.5 kB / 3.141 GB, free: 152.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/7.706, allocations: 430.4 kB / 3.142 GB, free: 152.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/7.713, allocations: 4.062 MB / 3.146 GB, free: 151.9 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/7.713, allocations: 25.47 kB / 3.146 GB, free: 151.9 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/7.713, allocations: 7.688 kB / 3.146 GB, free: 151.9 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004283/7.717, allocations: 3.58 MB / 3.149 GB, free: 151.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/7.733, allocations: 9.538 MB / 3.159 GB, free: 150.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/7.733, allocations: 6.875 kB / 3.159 GB, free: 150.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/7.735, allocations: 494.2 kB / 3.159 GB, free: 150.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007492/7.736, allocations: 378.9 kB / 3.159 GB, free: 150.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/7.736, allocations: 41.89 kB / 3.159 GB, free: 150.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00421/7.741, allocations: 4.906 MB / 3.164 GB, free: 148.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/7.741, allocations: 6.281 kB / 3.164 GB, free: 148.2 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008654/7.749, allocations: 6.704 MB / 3.171 GB, free: 146.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004421/7.754, allocations: 1.122 MB / 3.172 GB, free: 146.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/7.755, allocations: 21.45 kB / 3.172 GB, free: 146.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003183/7.758, allocations: 225.7 kB / 3.172 GB, free: 146.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/7.759, allocations: 150 kB / 3.172 GB, free: 146.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/7.759, allocations: 125.2 kB / 3.172 GB, free: 146.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 0.004675/7.763, allocations: 3.11 MB / 3.175 GB, free: 146.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008658/7.772, allocations: 1.84 MB / 3.177 GB, free: 146.2 MB / 0.6544 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.001506/7.774, allocations: 0.7025 MB / 3.178 GB, free: 146 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005262/7.779, allocations: 4.02 MB / 3.182 GB, free: 145.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/7.779, allocations: 4.531 kB / 3.182 GB, free: 145.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/7.781, allocations: 1.919 MB / 3.184 GB, free: 145.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01156/7.793, allocations: 2.241 MB / 3.186 GB, free: 145.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/7.813, allocations: 10.52 MB / 3.196 GB, free: 143.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005342/7.818, allocations: 4.793 MB / 3.201 GB, free: 142.8 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/7.818, allocations: 0 / 3.201 GB, free: 142.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.1341/7.952, allocations: 85.51 MB / 3.284 GB, free: 138.2 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)