Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",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.004017/0.004017, allocations: 180 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7352/0.7352, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.649/1.649, allocations: 221.3 MB / 395 MB, free: 10.29 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.0009955/0.0009953, allocations: 102.1 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5483/0.5493, allocations: 88.42 MB / 0.5529 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.7438, allocations: 82.31 MB / 0.6333 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.379/2.123, allocations: 380.3 MB / 1.005 GB, free: 254 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/2.123, allocations: 85.02 kB / 1.005 GB, free: 254 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: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 8.433/10.56, allocations: 2.233 GB / 3.238 GB, free: 76.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/10.56, allocations: 10.41 kB / 3.238 GB, free: 76.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00638/10.56, allocations: 0.855 MB / 3.239 GB, free: 75.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02222/10.59, allocations: 8.024 MB / 3.247 GB, free: 74.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/10.59, allocations: 192.9 kB / 3.247 GB, free: 74.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002967/10.59, allocations: 352 kB / 3.247 GB, free: 74.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0223/10.61, allocations: 6.507 MB / 3.253 GB, free: 72.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03733/10.65, allocations: 7.593 MB / 3.261 GB, free: 69.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003517/10.65, allocations: 18.84 kB / 3.261 GB, free: 69.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002417/10.65, allocations: 13.2 kB / 3.261 GB, free: 69.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002675/10.65, allocations: 248.6 kB / 3.261 GB, free: 69.45 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.071/10.72, allocations: 33.94 MB / 3.294 GB, free: 46.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00711/10.73, allocations: 3.97 MB / 3.298 GB, free: 43.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004517/10.73, allocations: 3.149 MB / 3.301 GB, free: 39.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/10.74, allocations: 0.9639 MB / 3.302 GB, free: 38.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004089/10.74, allocations: 2.247 MB / 3.304 GB, free: 36.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 6.252e-06/10.74, allocations: 0 / 3.304 GB, free: 36.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.01023/10.75, allocations: 4.752 MB / 3.309 GB, free: 31.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/10.75, allocations: 93.84 kB / 3.309 GB, free: 31.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009482/10.76, allocations: 4.417 MB / 3.313 GB, free: 27.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/10.76, allocations: 29.7 kB / 3.313 GB, free: 27.11 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003751/10.76, allocations: 2.433 MB / 3.316 GB, free: 24.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002986/10.77, allocations: 1.07 MB / 3.317 GB, free: 23.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004486/10.77, allocations: 0 / 3.317 GB, free: 23.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003455/10.77, allocations: 491.6 kB / 3.317 GB, free: 23.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/10.77, allocations: 2.058 MB / 3.319 GB, free: 21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003994/10.78, allocations: 3.562 MB / 3.323 GB, free: 16.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005521/10.78, allocations: 3.118 MB / 3.326 GB, free: 13.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.544e-05/10.78, allocations: 16 kB / 3.326 GB, free: 13.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01353/10.79, allocations: 6.458 MB / 3.332 GB, free: 7.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/10.79, allocations: 7.906 kB / 3.332 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.315e-05/10.79, allocations: 48 kB / 3.332 GB, free: 7.035 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/10.8, allocations: 436.9 kB / 3.333 GB, free: 6.605 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004949/10.8, allocations: 1.026 MB / 3.334 GB, free: 5.578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/10.81, allocations: 5.02 MB / 3.339 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008571/10.81, allocations: 0.5965 MB / 3.339 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/10.82, allocations: 219.9 kB / 3.339 GB, free: 15.52 MB / 0.7136 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.001462/10.82, allocations: 243.4 kB / 3.34 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002344/10.82, allocations: 478.2 kB / 3.34 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/10.83, allocations: 5.303 MB / 3.345 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/10.83, allocations: 32 kB / 3.345 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/10.83, allocations: 4 kB / 3.345 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009253/10.84, allocations: 4.645 MB / 3.35 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.542/11.38, allocations: 11.52 MB / 3.361 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/11.38, allocations: 3.219 kB / 3.361 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003236/11.39, allocations: 0.6164 MB / 3.362 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009678/11.39, allocations: 370.4 kB / 3.362 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004061/11.39, allocations: 45.95 kB / 3.362 GB, free: 150.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005736/11.4, allocations: 4.916 MB / 3.367 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/11.4, allocations: 3.219 kB / 3.367 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01468/11.41, allocations: 7.954 MB / 3.375 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01815/11.43, allocations: 11.34 MB / 3.386 GB, free: 146.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006467/11.43, allocations: 1.259 MB / 3.387 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003184/11.44, allocations: 23.55 kB / 3.387 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006814/11.44, allocations: 317.7 kB / 3.387 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009437/11.45, allocations: 169.6 kB / 3.387 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006546/11.45, allocations: 140.6 kB / 3.388 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.00769/11.45, allocations: 3.361 MB / 3.391 GB, free: 146.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01384/11.47, allocations: 2.141 MB / 3.393 GB, free: 146.2 MB / 0.7136 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.003065/11.47, allocations: 0.7718 MB / 3.394 GB, free: 146.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01143/11.48, allocations: 5.101 MB / 3.399 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/11.48, allocations: 3.656 kB / 3.399 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004582/11.49, allocations: 2.406 MB / 3.401 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01473/11.5, allocations: 2.363 MB / 3.403 GB, free: 145.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/11.53, allocations: 11.76 MB / 3.415 GB, free: 143.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00997/11.54, allocations: 5.233 MB / 3.42 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.583e-06/11.54, allocations: 1.781 kB / 3.42 GB, free: 142.7 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)