Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IDEAS_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.003924/0.003924, allocations: 185.6 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7483/0.7483, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.67/1.67, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009801/0.0009803, allocations: 100.7 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5439/0.5449, allocations: 88.42 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.7458, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.426/2.172, allocations: 380.3 MB / 1.005 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/2.172, allocations: 84.31 kB / 1.005 GB, free: 204.6 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 9.021/11.19, allocations: 2.233 GB / 3.238 GB, free: 70.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/11.19, allocations: 9.375 kB / 3.238 GB, free: 70.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005692/11.2, allocations: 0.8528 MB / 3.239 GB, free: 70.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02413/11.22, allocations: 8.026 MB / 3.247 GB, free: 66.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007028/11.22, allocations: 195.6 kB / 3.247 GB, free: 66.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003645/11.23, allocations: 358.7 kB / 3.247 GB, free: 66.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02706/11.25, allocations: 6.503 MB / 3.253 GB, free: 64.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04214/11.3, allocations: 7.601 MB / 3.261 GB, free: 61.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006624/11.3, allocations: 17.88 kB / 3.261 GB, free: 61.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004083/11.3, allocations: 11.16 kB / 3.261 GB, free: 61.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003375/11.3, allocations: 248.6 kB / 3.261 GB, free: 61.07 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07208/11.37, allocations: 33.92 MB / 3.294 GB, free: 28.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006778/11.38, allocations: 3.98 MB / 3.298 GB, free: 24.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004099/11.38, allocations: 3.148 MB / 3.301 GB, free: 21.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/11.39, allocations: 0.9593 MB / 3.302 GB, free: 20.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003696/11.39, allocations: 2.251 MB / 3.304 GB, free: 18.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 7.244e-06/11.39, allocations: 3.75 kB / 3.304 GB, free: 18.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.008797/11.4, allocations: 4.757 MB / 3.309 GB, free: 13.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/11.4, allocations: 89.42 kB / 3.309 GB, free: 13.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008895/11.41, allocations: 4.425 MB / 3.313 GB, free: 8.695 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/11.41, allocations: 29.7 kB / 3.313 GB, free: 8.66 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003202/11.41, allocations: 2.426 MB / 3.316 GB, free: 6.203 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002598/11.41, allocations: 1.078 MB / 3.317 GB, free: 5.109 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/11.41, allocations: 0 / 3.317 GB, free: 5.109 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00028/11.42, allocations: 491.6 kB / 3.317 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/11.42, allocations: 2.062 MB / 3.319 GB, free: 2.551 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/11.42, allocations: 3.562 MB / 3.323 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005908/11.43, allocations: 3.119 MB / 3.326 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.613e-05/11.43, allocations: 12 kB / 3.326 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01618/11.44, allocations: 6.458 MB / 3.332 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/11.44, allocations: 8.094 kB / 3.332 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.775e-05/11.44, allocations: 52 kB / 3.332 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/11.45, allocations: 437.3 kB / 3.333 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004913/11.45, allocations: 1.022 MB / 3.334 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4414/11.89, allocations: 5.007 MB / 3.339 GB, free: 140.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006951/11.9, allocations: 0.5966 MB / 3.339 GB, free: 140.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009563/11.9, allocations: 222.8 kB / 3.339 GB, free: 140.8 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.001211/11.9, allocations: 249 kB / 3.34 GB, free: 140.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002582/11.9, allocations: 476.7 kB / 3.34 GB, free: 140.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009779/11.91, allocations: 5.303 MB / 3.345 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/11.91, allocations: 35.73 kB / 3.345 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/11.91, allocations: 2.625 kB / 3.345 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006414/11.92, allocations: 4.635 MB / 3.35 GB, free: 140 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02819/11.95, allocations: 11.52 MB / 3.361 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/11.95, allocations: 0 / 3.361 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/11.95, allocations: 0.6166 MB / 3.362 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008448/11.95, allocations: 365.3 kB / 3.362 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003368/11.95, allocations: 43.89 kB / 3.362 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004808/11.96, allocations: 4.938 MB / 3.367 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/11.96, allocations: 0 / 3.367 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01277/11.97, allocations: 7.97 MB / 3.375 GB, free: 136.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01627/11.99, allocations: 11.33 MB / 3.386 GB, free: 135 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006379/11.99, allocations: 1.264 MB / 3.387 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002817/12, allocations: 12.92 kB / 3.387 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006547/12, allocations: 321.8 kB / 3.387 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006654/12, allocations: 168.7 kB / 3.387 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006574/12, allocations: 138.8 kB / 3.388 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.007344/12.01, allocations: 3.361 MB / 3.391 GB, free: 134.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01238/12.02, allocations: 2.138 MB / 3.393 GB, free: 134.3 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.00257/12.03, allocations: 0.7795 MB / 3.394 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008503/12.03, allocations: 5.095 MB / 3.399 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/12.03, allocations: 2.875 kB / 3.399 GB, free: 133.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003552/12.04, allocations: 2.405 MB / 3.401 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01382/12.05, allocations: 2.371 MB / 3.403 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02802/12.08, allocations: 11.76 MB / 3.415 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00812/12.09, allocations: 5.228 MB / 3.42 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.262e-06/12.09, allocations: 2.938 kB / 3.42 GB, free: 130.9 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IDEAS_IDEAS.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)