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: translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") [: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.001154/0.001154, allocations: 184.7 kB / 7.799 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4418/0.4418, allocations: 90.85 MB / 99.08 MB, free: 14.93 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.213/1.213, allocations: 221.4 MB / 342.8 MB, free: 5.207 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.0009716/0.0009717, allocations: 95.56 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.921e-06, allocations: 0 / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.337, allocations: 72.31 MB / 0.5529 GB, free: 73.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5522/0.8892, allocations: 370.6 MB / 0.9148 GB, free: 1.125 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.8894, allocations: 91 kB / 0.9149 GB, free: 1.078 MB / 0.573 GB Notification: Performance of FrontEnd: time 7.078/7.968, allocations: 2.254 GB / 3.169 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.001157/7.969, allocations: 194.1 kB / 3.169 GB, free: 49.86 MB / 0.6511 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 0.01941/7.988, allocations: 6.081 MB / 3.175 GB, free: 47.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/7.988, allocations: 7.156 kB / 3.175 GB, free: 47.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006001/7.994, allocations: 0.8597 MB / 3.176 GB, free: 47.31 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/8.014, allocations: 8.014 MB / 3.183 GB, free: 46.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/8.015, allocations: 200.7 kB / 3.184 GB, free: 46.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002342/8.017, allocations: 358.9 kB / 3.184 GB, free: 46.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01466/8.032, allocations: 6.504 MB / 3.19 GB, free: 46.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01832/8.05, allocations: 7.59 MB / 3.198 GB, free: 45.49 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002815/8.051, allocations: 21.75 kB / 3.198 GB, free: 45.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001645/8.052, allocations: 15.44 kB / 3.198 GB, free: 45.49 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002273/8.052, allocations: 251 kB / 3.198 GB, free: 45.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04261/8.095, allocations: 33.92 MB / 3.231 GB, free: 30.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005189/8.1, allocations: 3.969 MB / 3.235 GB, free: 30.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003663/8.104, allocations: 3.15 MB / 3.238 GB, free: 30.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00105/8.105, allocations: 0.9697 MB / 3.239 GB, free: 29.47 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003012/8.108, allocations: 2.249 MB / 3.241 GB, free: 29.37 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=317): time 6.623e-06/8.108, allocations: 0 / 3.241 GB, free: 29.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317): time 0.007581/8.116, allocations: 4.752 MB / 3.246 GB, free: 28.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/8.116, allocations: 86.28 kB / 3.246 GB, free: 28.92 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006797/8.123, allocations: 4.42 MB / 3.25 GB, free: 28.58 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004537/8.123, allocations: 33.73 kB / 3.25 GB, free: 28.55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.002247/8.125, allocations: 2.427 MB / 3.253 GB, free: 27.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00166/8.127, allocations: 1.08 MB / 3.254 GB, free: 26.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/8.127, allocations: 2.438 kB / 3.254 GB, free: 26.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002013/8.127, allocations: 491.1 kB / 3.254 GB, free: 26.17 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002387/8.13, allocations: 2.056 MB / 3.256 GB, free: 26.15 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00282/8.133, allocations: 3.556 MB / 3.26 GB, free: 24.33 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/8.137, allocations: 3.125 MB / 3.263 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/8.137, allocations: 18.69 kB / 3.263 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.00934/8.146, allocations: 6.454 MB / 3.269 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/8.146, allocations: 7.109 kB / 3.269 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.328e-05/8.146, allocations: 47.53 kB / 3.269 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008345/8.147, allocations: 446 kB / 3.269 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003664/8.151, allocations: 1.022 MB / 3.27 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004301/8.155, allocations: 5.015 MB / 3.275 GB, free: 21.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005122/8.16, allocations: 0.6004 MB / 3.276 GB, free: 21.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004748/8.16, allocations: 216.3 kB / 3.276 GB, free: 21.01 MB / 0.6511 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.0008207/8.161, allocations: 257.9 kB / 3.276 GB, free: 20.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008725/8.162, allocations: 476 kB / 3.277 GB, free: 20.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008254/8.17, allocations: 5.3 MB / 3.282 GB, free: 20.41 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/8.17, allocations: 31.78 kB / 3.282 GB, free: 20.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/8.171, allocations: 8.375 kB / 3.282 GB, free: 20.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005625/8.176, allocations: 4.64 MB / 3.287 GB, free: 19.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/8.195, allocations: 11.53 MB / 3.298 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/8.195, allocations: 3.938 kB / 3.298 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002774/8.198, allocations: 0.6164 MB / 3.298 GB, free: 19.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007029/8.199, allocations: 366.2 kB / 3.299 GB, free: 19.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/8.199, allocations: 46.89 kB / 3.299 GB, free: 19.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/8.203, allocations: 4.915 MB / 3.304 GB, free: 16.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/8.203, allocations: 3.406 kB / 3.304 GB, free: 16.47 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009766/8.213, allocations: 7.961 MB / 3.311 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00366/8.217, allocations: 1.265 MB / 3.313 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000948/8.217, allocations: 12.59 kB / 3.313 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003231/8.221, allocations: 320.7 kB / 3.313 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/8.221, allocations: 168.4 kB / 3.313 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/8.221, allocations: 142 kB / 3.313 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.004181/8.226, allocations: 3.363 MB / 3.317 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006445/8.232, allocations: 2.024 MB / 3.319 GB, free: 14.8 MB / 0.6511 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.001385/8.233, allocations: 0.7869 MB / 3.319 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006088/8.239, allocations: 5.099 MB / 3.324 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/8.239, allocations: 6.719 kB / 3.324 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002524/8.242, allocations: 2.402 MB / 3.327 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/8.252, allocations: 2.376 MB / 3.329 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/8.273, allocations: 11.72 MB / 3.34 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00533/8.278, allocations: 5.183 MB / 3.345 GB, free: 18.26 MB / 0.6667 GB Notification: Performance of SimCode: time 1.122e-06/8.278, allocations: 0 / 3.345 GB, free: 18.26 MB / 0.6667 GB Notification: Performance of Templates: time 0.3865/8.664, allocations: 96.09 MB / 3.439 GB, free: 112 MB / 0.6667 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)