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-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_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="IDEAS_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.003398/0.003398, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7905/0.7905, 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.681/1.681, 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.00121/0.00121, allocations: 90.92 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5287/0.5299, allocations: 88.43 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.7532, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/2.107, allocations: 377.7 MB / 1.002 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/2.108, allocations: 86.7 kB / 1.002 GB, free: 256.2 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.736/10.84, allocations: 2.116 GB / 3.118 GB, free: 78.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/10.84, allocations: 10.38 kB / 3.118 GB, free: 78.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006547/10.85, allocations: 0.782 MB / 3.119 GB, free: 77.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02006/10.87, allocations: 7.577 MB / 3.126 GB, free: 76.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/10.87, allocations: 175.8 kB / 3.127 GB, free: 76.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/10.87, allocations: 324.7 kB / 3.127 GB, free: 76.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01445/10.89, allocations: 5.672 MB / 3.132 GB, free: 76.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/10.91, allocations: 6.751 MB / 3.139 GB, free: 76.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/10.91, allocations: 16.81 kB / 3.139 GB, free: 76.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/10.91, allocations: 7.219 kB / 3.139 GB, free: 76.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000219/10.91, allocations: 226.9 kB / 3.139 GB, free: 76.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0496/10.96, allocations: 29.42 MB / 3.168 GB, free: 63.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005366/10.96, allocations: 3.344 MB / 3.171 GB, free: 63.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/10.97, allocations: 2.69 MB / 3.174 GB, free: 63.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008395/10.97, allocations: 0.8228 MB / 3.175 GB, free: 62.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/10.97, allocations: 71.05 kB / 3.175 GB, free: 62.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 4.719e-06/10.97, allocations: 0 / 3.175 GB, free: 62.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.007205/10.98, allocations: 3.673 MB / 3.178 GB, free: 62.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/10.98, allocations: 79.95 kB / 3.178 GB, free: 62 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008146/10.98, allocations: 4.072 MB / 3.182 GB, free: 61.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001005/10.99, allocations: 29.52 kB / 3.182 GB, free: 61.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002052/10.99, allocations: 2.158 MB / 3.185 GB, free: 60.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002076/10.99, allocations: 0.9053 MB / 3.185 GB, free: 59.82 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/10.99, allocations: 0 / 3.185 GB, free: 59.82 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000229/10.99, allocations: 466.1 kB / 3.186 GB, free: 59.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/10.99, allocations: 1.598 MB / 3.187 GB, free: 59.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/11, allocations: 2.838 MB / 3.19 GB, free: 58.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/11, allocations: 2.34 MB / 3.192 GB, free: 57.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.163e-05/11, allocations: 12.12 kB / 3.193 GB, free: 57.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008654/11.01, allocations: 5.073 MB / 3.197 GB, free: 57.63 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/11.01, allocations: 6.469 kB / 3.197 GB, free: 57.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.644e-05/11.01, allocations: 41.75 kB / 3.198 GB, free: 57.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000946/11.01, allocations: 419.1 kB / 3.198 GB, free: 57.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/11.01, allocations: 0.8576 MB / 3.199 GB, free: 57.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/11.02, allocations: 4.987 MB / 3.204 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00645/11.02, allocations: 0.4888 MB / 3.204 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009243/11.02, allocations: 181.4 kB / 3.204 GB, free: 54.77 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.0009959/11.03, allocations: 224.3 kB / 3.204 GB, free: 54.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001911/11.03, allocations: 426.2 kB / 3.205 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/11.03, allocations: 4.067 MB / 3.209 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/11.03, allocations: 23.97 kB / 3.209 GB, free: 54.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/11.03, allocations: 17.03 kB / 3.209 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004527/11.04, allocations: 3.583 MB / 3.212 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/11.06, allocations: 9.55 MB / 3.222 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/11.06, allocations: 3.25 kB / 3.222 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/11.06, allocations: 498.3 kB / 3.222 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/11.06, allocations: 369 kB / 3.223 GB, free: 53.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003067/11.06, allocations: 42.55 kB / 3.223 GB, free: 53.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005211/11.07, allocations: 4.916 MB / 3.227 GB, free: 50.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/11.07, allocations: 6.875 kB / 3.227 GB, free: 50.39 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01171/11.08, allocations: 6.684 MB / 3.234 GB, free: 49.02 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01179/11.09, allocations: 9.373 MB / 3.243 GB, free: 47.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003635/11.1, allocations: 1.123 MB / 3.244 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/11.1, allocations: 22.94 kB / 3.244 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003747/11.1, allocations: 225.1 kB / 3.244 GB, free: 46.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/11.1, allocations: 153.7 kB / 3.245 GB, free: 46.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/11.1, allocations: 125.4 kB / 3.245 GB, free: 46.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.005268/11.11, allocations: 3.113 MB / 3.248 GB, free: 46.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01184/11.12, allocations: 1.939 MB / 3.25 GB, free: 46.36 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.002246/11.12, allocations: 0.6931 MB / 3.25 GB, free: 46.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007648/11.13, allocations: 4.028 MB / 3.254 GB, free: 45.93 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/11.13, allocations: 3.391 kB / 3.254 GB, free: 45.93 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/11.13, allocations: 1.923 MB / 3.256 GB, free: 45.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01293/11.14, allocations: 2.235 MB / 3.258 GB, free: 45.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/11.17, allocations: 10.55 MB / 3.269 GB, free: 43.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00771/11.18, allocations: 4.838 MB / 3.273 GB, free: 42.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.463e-06/11.18, allocations: 0 / 3.273 GB, free: 42.93 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)