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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [: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.003147/0.003147, allocations: 186.3 kB / 7.464 MB, free: 2.227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6955/0.6955, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.647/1.647, allocations: 221.3 MB / 395 MB, free: 10.2 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.001197/0.001198, allocations: 106.6 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5179/0.5192, allocations: 88.42 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.7194, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/2.059, allocations: 377.7 MB / 1.002 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/2.06, allocations: 86.7 kB / 1.002 GB, free: 256.1 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 8.6/10.66, allocations: 2.116 GB / 3.118 GB, free: 78.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/10.66, allocations: 7.406 kB / 3.118 GB, free: 78.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006295/10.67, allocations: 0.7873 MB / 3.119 GB, free: 77.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02358/10.69, allocations: 7.579 MB / 3.126 GB, free: 77.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005774/10.69, allocations: 181.9 kB / 3.127 GB, free: 77.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003592/10.69, allocations: 321.3 kB / 3.127 GB, free: 77.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01572/10.71, allocations: 5.667 MB / 3.132 GB, free: 77.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02124/10.73, allocations: 6.754 MB / 3.139 GB, free: 76.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004004/10.73, allocations: 13.81 kB / 3.139 GB, free: 76.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002424/10.73, allocations: 8.375 kB / 3.139 GB, free: 76.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/10.73, allocations: 234.5 kB / 3.139 GB, free: 76.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0612/10.8, allocations: 29.42 MB / 3.168 GB, free: 63.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007529/10.8, allocations: 3.338 MB / 3.171 GB, free: 63.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004998/10.81, allocations: 2.701 MB / 3.174 GB, free: 63.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/10.81, allocations: 0.8291 MB / 3.175 GB, free: 62.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/10.81, allocations: 68.58 kB / 3.175 GB, free: 62.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 5.941e-06/10.81, allocations: 2.625 kB / 3.175 GB, free: 62.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.009457/10.82, allocations: 3.668 MB / 3.178 GB, free: 62.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/10.82, allocations: 76.92 kB / 3.178 GB, free: 62.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009519/10.83, allocations: 4.074 MB / 3.182 GB, free: 61.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009511/10.83, allocations: 28.7 kB / 3.182 GB, free: 61.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/10.83, allocations: 2.153 MB / 3.185 GB, free: 60.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/10.83, allocations: 0.9041 MB / 3.185 GB, free: 59.94 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/10.83, allocations: 3.156 kB / 3.185 GB, free: 59.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002129/10.83, allocations: 463.9 kB / 3.186 GB, free: 59.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/10.84, allocations: 1.603 MB / 3.187 GB, free: 59.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/10.84, allocations: 2.835 MB / 3.19 GB, free: 58.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/10.84, allocations: 2.343 MB / 3.192 GB, free: 58.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-05/10.84, allocations: 13.47 kB / 3.193 GB, free: 58.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008773/10.85, allocations: 5.066 MB / 3.197 GB, free: 57.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/10.85, allocations: 7.781 kB / 3.197 GB, free: 57.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.494e-05/10.85, allocations: 43.5 kB / 3.198 GB, free: 57.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008921/10.85, allocations: 418.7 kB / 3.198 GB, free: 57.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/10.86, allocations: 0.8539 MB / 3.199 GB, free: 57.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005/10.86, allocations: 4.984 MB / 3.204 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006564/10.87, allocations: 0.4978 MB / 3.204 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/10.87, allocations: 182.8 kB / 3.204 GB, free: 54.89 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.001461/10.87, allocations: 220 kB / 3.204 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002368/10.87, allocations: 430.3 kB / 3.205 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008115/10.88, allocations: 4.049 MB / 3.209 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/10.88, allocations: 32.14 kB / 3.209 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/10.88, allocations: 10.53 kB / 3.209 GB, free: 54.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004814/10.88, allocations: 3.593 MB / 3.212 GB, free: 53.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02465/10.91, allocations: 9.536 MB / 3.222 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/10.91, allocations: 6.844 kB / 3.222 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/10.91, allocations: 497.1 kB / 3.222 GB, free: 53.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008152/10.91, allocations: 369.9 kB / 3.223 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002364/10.91, allocations: 48.48 kB / 3.223 GB, free: 53.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/10.92, allocations: 4.915 MB / 3.227 GB, free: 50.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/10.92, allocations: 6.875 kB / 3.227 GB, free: 50.51 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01052/10.93, allocations: 6.689 MB / 3.234 GB, free: 49.14 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01259/10.94, allocations: 9.375 MB / 3.243 GB, free: 47.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004213/10.95, allocations: 1.127 MB / 3.244 GB, free: 47.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/10.95, allocations: 27.88 kB / 3.244 GB, free: 47.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005386/10.95, allocations: 220.5 kB / 3.244 GB, free: 46.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/10.95, allocations: 144.3 kB / 3.245 GB, free: 46.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004963/10.95, allocations: 131.6 kB / 3.245 GB, free: 46.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.006435/10.96, allocations: 3.111 MB / 3.248 GB, free: 46.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01145/10.97, allocations: 1.927 MB / 3.25 GB, free: 46.49 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.002943/10.97, allocations: 0.7074 MB / 3.25 GB, free: 46.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008941/10.98, allocations: 4.028 MB / 3.254 GB, free: 46.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/10.98, allocations: 3.938 kB / 3.254 GB, free: 46.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/10.99, allocations: 1.913 MB / 3.256 GB, free: 45.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01499/11, allocations: 2.249 MB / 3.258 GB, free: 45.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03532/11.04, allocations: 10.55 MB / 3.269 GB, free: 43.85 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01163/11.05, allocations: 4.848 MB / 3.273 GB, free: 43.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.643e-06/11.05, allocations: 0 / 3.273 GB, free: 43.05 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)