Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.863/0.863, allocations: 127.4 MB / 134.6 MB, free: 4.105 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001176, allocations: 189.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.1 MB / 399.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009598/0.0009598, allocations: 79.12 kB / 476.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.025e-06, allocations: 0 / 0.546 GB, free: 42.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 76.75 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.404, allocations: 367.2 MB / 0.9795 GB, free: 115.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.404, allocations: 92.19 kB / 0.9796 GB, free: 115 MB / 0.6198 GB Notification: Performance of FrontEnd: time 7.841/9.245, allocations: 2.098 GB / 3.078 GB, free: 30.49 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.002024/9.247, allocations: 185.8 kB / 3.078 GB, free: 30.32 MB / 0.6667 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.0296/9.277, allocations: 6.02 MB / 3.084 GB, free: 24.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/9.277, allocations: 12.03 kB / 3.084 GB, free: 24.26 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008443/9.286, allocations: 0.8305 MB / 3.085 GB, free: 23.42 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03047/9.316, allocations: 8.719 MB / 3.093 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004403/9.317, allocations: 199.3 kB / 3.094 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003135/9.32, allocations: 363.9 kB / 3.094 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01839/9.338, allocations: 6.502 MB / 3.1 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02452/9.363, allocations: 7.41 MB / 3.107 GB, free: 28 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003219/9.363, allocations: 15.88 kB / 3.108 GB, free: 12 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3559/9.719, allocations: 15.95 kB / 3.108 GB, free: 123.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002688/9.719, allocations: 180.4 kB / 3.108 GB, free: 123.1 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05868/9.778, allocations: 33.73 MB / 3.141 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006653/9.785, allocations: 4.05 MB / 3.145 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004332/9.789, allocations: 3.096 MB / 3.148 GB, free: 108.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009016/9.79, allocations: 487 kB / 3.148 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003146/9.793, allocations: 2.142 MB / 3.15 GB, free: 107.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=322): time 5.25e-06/9.793, allocations: 2 kB / 3.15 GB, free: 107.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=322): time 0.009326/9.803, allocations: 4.736 MB / 3.155 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/9.803, allocations: 84.88 kB / 3.155 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009607/9.812, allocations: 4.226 MB / 3.159 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.00136/9.814, allocations: 27.61 kB / 3.159 GB, free: 107 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.004024/9.818, allocations: 2.404 MB / 3.161 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.002563/9.82, allocations: 1.09 MB / 3.162 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/9.821, allocations: 3.375 kB / 3.162 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003001/9.821, allocations: 497 kB / 3.163 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/9.824, allocations: 2.02 MB / 3.165 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/9.827, allocations: 3.555 MB / 3.168 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005091/9.832, allocations: 3.149 MB / 3.171 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.913e-05/9.832, allocations: 14.81 kB / 3.171 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01212/9.845, allocations: 6.454 MB / 3.178 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/9.845, allocations: 3.062 kB / 3.178 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.242e-05/9.845, allocations: 53.91 kB / 3.178 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009757/9.846, allocations: 432.5 kB / 3.178 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/9.85, allocations: 1.037 MB / 3.179 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005485/9.855, allocations: 5.02 MB / 3.184 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007628/9.863, allocations: 0.5674 MB / 3.185 GB, free: 99.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/9.864, allocations: 221.5 kB / 3.185 GB, free: 99.88 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (547): * Single equations (assignments): 544 * 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.002289/9.867, allocations: 253.9 kB / 3.185 GB, free: 99.74 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002585/9.869, allocations: 460.2 kB / 3.186 GB, free: 99.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/9.883, allocations: 5.245 MB / 3.191 GB, free: 99.28 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.644e-05/9.883, allocations: 28.91 kB / 3.191 GB, free: 99.28 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.534e-05/9.883, allocations: 6.781 kB / 3.191 GB, free: 99.28 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008027/9.891, allocations: 4.601 MB / 3.195 GB, free: 98.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/9.922, allocations: 11.15 MB / 3.206 GB, free: 98.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/9.922, allocations: 3.812 kB / 3.206 GB, free: 98.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003567/9.926, allocations: 0.6036 MB / 3.207 GB, free: 98.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009434/9.927, allocations: 369.7 kB / 3.207 GB, free: 98 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006305/9.928, allocations: 47.33 kB / 3.207 GB, free: 98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005566/9.933, allocations: 4.925 MB / 3.212 GB, free: 95.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/9.933, allocations: 0 / 3.212 GB, free: 95.38 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01464/9.948, allocations: 7.716 MB / 3.219 GB, free: 94.83 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004841/9.953, allocations: 1.199 MB / 3.221 GB, free: 94.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002389/9.955, allocations: 11.84 kB / 3.221 GB, free: 94.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005659/9.961, allocations: 297.6 kB / 3.221 GB, free: 94.43 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009004/9.962, allocations: 164.5 kB / 3.221 GB, free: 94.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008304/9.963, allocations: 109.8 kB / 3.221 GB, free: 94.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0102/9.973, allocations: 3.222 MB / 3.224 GB, free: 94.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01171/9.985, allocations: 1.983 MB / 3.226 GB, free: 93.95 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (298): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002734/9.987, allocations: 0.7982 MB / 3.227 GB, free: 93.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009625/9.997, allocations: 5.01 MB / 3.232 GB, free: 93.51 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/9.997, allocations: 0 / 3.232 GB, free: 93.51 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.004379/10, allocations: 2.365 MB / 3.234 GB, free: 93.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01468/10.02, allocations: 2.33 MB / 3.237 GB, free: 93.25 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03718/10.05, allocations: 11.77 MB / 3.248 GB, free: 91.31 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0129/10.07, allocations: 5.125 MB / 3.253 GB, free: 90.49 MB / 0.6667 GB Notification: Performance of SimCode: time 1.944e-06/10.07, allocations: 2.516 kB / 3.253 GB, free: 90.49 MB / 0.6667 GB Notification: Performance of Templates: time 0.1686/10.24, allocations: 93.04 MB / 3.344 GB, free: 58.34 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)