Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_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.001357/0.001357, allocations: 189.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4672/0.4672, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.4 MB / 342.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009896/0.0009898, allocations: 92.34 kB / 415.5 MB, free: 6.465 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1778/0.1788, allocations: 78.45 MB / 493.9 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.5448, allocations: 72.3 MB / 0.553 GB, free: 73.28 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5873/1.132, allocations: 370.6 MB / 0.9149 GB, free: 3.797 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.132, allocations: 84.95 kB / 0.915 GB, free: 3.754 MB / 0.573 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 7.097/8.229, allocations: 2.26 GB / 3.175 GB, free: 60.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/8.229, allocations: 7.719 kB / 3.175 GB, free: 60.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006033/8.235, allocations: 0.8578 MB / 3.176 GB, free: 60.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01987/8.255, allocations: 8.019 MB / 3.184 GB, free: 59.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003376/8.256, allocations: 201.1 kB / 3.184 GB, free: 59.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002409/8.258, allocations: 357.6 kB / 3.184 GB, free: 59.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01492/8.273, allocations: 6.502 MB / 3.19 GB, free: 59.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02045/8.293, allocations: 7.592 MB / 3.198 GB, free: 58.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002013/8.294, allocations: 19.28 kB / 3.198 GB, free: 58.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009498/8.295, allocations: 11.41 kB / 3.198 GB, free: 58.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/8.295, allocations: 250.6 kB / 3.198 GB, free: 58.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05507/8.35, allocations: 33.93 MB / 3.231 GB, free: 43.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005375/8.355, allocations: 3.964 MB / 3.235 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/8.359, allocations: 3.151 MB / 3.238 GB, free: 42.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/8.36, allocations: 0.9675 MB / 3.239 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003026/8.363, allocations: 2.247 MB / 3.241 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 5.06e-06/8.363, allocations: 0 / 3.241 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.008441/8.372, allocations: 4.752 MB / 3.246 GB, free: 39.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/8.372, allocations: 88.03 kB / 3.246 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007176/8.379, allocations: 4.423 MB / 3.25 GB, free: 37.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0008901/8.38, allocations: 29.27 kB / 3.25 GB, free: 37.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002798/8.383, allocations: 2.423 MB / 3.253 GB, free: 35.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.002316/8.385, allocations: 1.085 MB / 3.254 GB, free: 34.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/8.385, allocations: 0 / 3.254 GB, free: 34.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000272/8.386, allocations: 491.2 kB / 3.254 GB, free: 34.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002738/8.388, allocations: 2.06 MB / 3.256 GB, free: 33.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003207/8.392, allocations: 3.558 MB / 3.26 GB, free: 31.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004815/8.396, allocations: 3.123 MB / 3.263 GB, free: 30.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-05/8.396, allocations: 12.97 kB / 3.263 GB, free: 30.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01213/8.409, allocations: 6.459 MB / 3.269 GB, free: 28.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/8.409, allocations: 6.906 kB / 3.269 GB, free: 28.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.909e-05/8.409, allocations: 54 kB / 3.269 GB, free: 28.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009171/8.41, allocations: 432 kB / 3.27 GB, free: 28.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/8.414, allocations: 1.027 MB / 3.271 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/8.419, allocations: 5.024 MB / 3.275 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007155/8.426, allocations: 0.5931 MB / 3.276 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/8.428, allocations: 222 kB / 3.276 GB, free: 23.02 MB / 0.6355 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.001107/8.429, allocations: 246.8 kB / 3.277 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00173/8.43, allocations: 478 kB / 3.277 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009224/8.44, allocations: 5.303 MB / 3.282 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/8.44, allocations: 32 kB / 3.282 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/8.44, allocations: 4 kB / 3.282 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006426/8.446, allocations: 4.639 MB / 3.287 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02264/8.469, allocations: 11.53 MB / 3.298 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/8.469, allocations: 0 / 3.298 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002967/8.472, allocations: 0.6092 MB / 3.299 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000843/8.473, allocations: 368.5 kB / 3.299 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003036/8.473, allocations: 45.89 kB / 3.299 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.321/8.794, allocations: 4.926 MB / 3.304 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/8.794, allocations: 10.53 kB / 3.304 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0132/8.807, allocations: 7.95 MB / 3.312 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01634/8.824, allocations: 11.34 MB / 3.323 GB, free: 101 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005014/8.829, allocations: 1.255 MB / 3.324 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001828/8.831, allocations: 22.14 kB / 3.324 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005097/8.836, allocations: 324.1 kB / 3.324 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003946/8.836, allocations: 168 kB / 3.324 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004583/8.837, allocations: 143.2 kB / 3.324 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.006215/8.843, allocations: 3.362 MB / 3.328 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01287/8.856, allocations: 2.131 MB / 3.33 GB, free: 100.5 MB / 0.6355 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.002341/8.858, allocations: 0.7825 MB / 3.331 GB, free: 100.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.009899/8.868, allocations: 5.094 MB / 3.336 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/8.868, allocations: 2.406 kB / 3.336 GB, free: 100.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003924/8.872, allocations: 2.4 MB / 3.338 GB, free: 99.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01426/8.886, allocations: 2.375 MB / 3.34 GB, free: 99.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02655/8.913, allocations: 11.75 MB / 3.352 GB, free: 97.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007564/8.921, allocations: 5.246 MB / 3.357 GB, free: 97.02 MB / 0.6355 GB Notification: Performance of SimCode: time 1.984e-06/8.921, allocations: 2.469 kB / 3.357 GB, free: 97.02 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)