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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7572/0.7572, allocations: 128.7 MB / 143.7 MB, free: 2.285 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.001334/0.001334, allocations: 177.2 kB / 173.8 MB, free: 6.113 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.648/1.648, allocations: 205.4 MB / 409 MB, free: 10.49 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.0009032/0.0009032, allocations: 95.42 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004367, allocations: 9.5 kB / 0.5603 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 76.76 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.3, allocations: 368.1 MB / 0.9947 GB, free: 172.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/1.301, allocations: 94.25 kB / 0.9948 GB, free: 172.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.471/8.772, allocations: 2.103 GB / 3.098 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/8.772, allocations: 0 / 3.098 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001106/8.773, allocations: 190.8 kB / 3.098 GB, free: 67.43 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 0.02706/8.8, allocations: 7.176 MB / 3.105 GB, free: 64.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/8.8, allocations: 7.625 kB / 3.105 GB, free: 64.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005552/8.806, allocations: 0.8389 MB / 3.106 GB, free: 64.49 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02069/8.827, allocations: 8.638 MB / 3.114 GB, free: 63.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004775/8.827, allocations: 458.1 kB / 3.115 GB, free: 63.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002557/8.83, allocations: 0.6036 MB / 3.115 GB, free: 63.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02469/8.854, allocations: 8.269 MB / 3.124 GB, free: 62.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005454/8.855, allocations: 15.94 kB / 3.124 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003368/8.858, allocations: 258.8 kB / 3.124 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003789/8.859, allocations: 189.9 kB / 3.124 GB, free: 62.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02119/8.88, allocations: 6.874 MB / 3.131 GB, free: 62.66 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06851/8.948, allocations: 33.6 MB / 3.163 GB, free: 48.31 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00792/8.956, allocations: 4.276 MB / 3.168 GB, free: 48.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/8.958, allocations: 0.9612 MB / 3.169 GB, free: 47.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005994/8.964, allocations: 2.267 MB / 3.171 GB, free: 47.19 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005549/8.97, allocations: 479.1 kB / 3.171 GB, free: 46.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=325): time 2.801e-05/8.97, allocations: 1.062 kB / 3.171 GB, free: 46.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=325): time 0.01639/8.986, allocations: 7.033 MB / 3.178 GB, free: 46.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/8.986, allocations: 84.59 kB / 3.178 GB, free: 46.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/9.001, allocations: 5.057 MB / 3.183 GB, free: 45.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/9.003, allocations: 83.17 kB / 3.183 GB, free: 45.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004586/9.007, allocations: 3.107 MB / 3.186 GB, free: 42.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002273/9.01, allocations: 1.152 MB / 3.187 GB, free: 41.84 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009779/9.011, allocations: 93 kB / 3.187 GB, free: 41.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0005651/9.011, allocations: 494.6 kB / 3.188 GB, free: 41.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004319/9.015, allocations: 2.094 MB / 3.19 GB, free: 40.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005272/9.021, allocations: 3.662 MB / 3.194 GB, free: 37.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00543/9.026, allocations: 2.864 MB / 3.196 GB, free: 36.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.842e-05/9.026, allocations: 15.38 kB / 3.196 GB, free: 36.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01553/9.042, allocations: 6.667 MB / 3.203 GB, free: 34.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/9.042, allocations: 54.64 kB / 3.203 GB, free: 34.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/9.042, allocations: 49.47 kB / 3.203 GB, free: 34.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/9.043, allocations: 434.9 kB / 3.203 GB, free: 34.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/9.048, allocations: 1.045 MB / 3.204 GB, free: 34.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005377/9.053, allocations: 5.392 MB / 3.21 GB, free: 30.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007753/9.061, allocations: 435 kB / 3.21 GB, free: 30.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001475/9.063, allocations: 226.8 kB / 3.21 GB, free: 30.25 MB / 0.6823 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 () * Number of clocked 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.007534/9.07, allocations: 2.451 MB / 3.213 GB, free: 29.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002657/9.073, allocations: 0.5088 MB / 3.213 GB, free: 28.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/9.086, allocations: 5.522 MB / 3.219 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.726e-05/9.086, allocations: 29.94 kB / 3.219 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-05/9.086, allocations: 3.781 kB / 3.219 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007418/9.094, allocations: 4.417 MB / 3.223 GB, free: 24.95 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03194/9.126, allocations: 11.47 MB / 3.234 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/9.126, allocations: 0 / 3.234 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003265/9.129, allocations: 0.6151 MB / 3.235 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008701/9.13, allocations: 365.5 kB / 3.235 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006631/9.131, allocations: 87.78 kB / 3.235 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004919/9.136, allocations: 5.326 MB / 3.24 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/9.136, allocations: 0 / 3.24 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/9.149, allocations: 7.528 MB / 3.248 GB, free: 4.703 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005744/9.155, allocations: 1.206 MB / 3.249 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002548/9.158, allocations: 67.7 kB / 3.249 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005948/9.164, allocations: 389.6 kB / 3.249 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008023/9.165, allocations: 199.5 kB / 3.25 GB, free: 3.176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006736/9.165, allocations: 109.1 kB / 3.25 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0107/9.176, allocations: 4.034 MB / 3.254 GB, free: 0 / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/9.176, allocations: 336 / 3.254 GB, free: 0 / 0.6823 GB Notification: Performance of remove unused functions: time 0.01346/9.19, allocations: 2.112 MB / 3.256 GB, free: 14.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * 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.00306/9.193, allocations: 0.8469 MB / 3.256 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01198/9.205, allocations: 5.273 MB / 3.262 GB, free: 8.941 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/9.205, allocations: 0 / 3.262 GB, free: 8.941 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005406/9.21, allocations: 2.472 MB / 3.264 GB, free: 6.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01822/9.228, allocations: 3.125 MB / 3.267 GB, free: 4.578 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5161/9.744, allocations: 16.14 MB / 3.283 GB, free: 71.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00683/9.751, allocations: 4.705 MB / 3.287 GB, free: 71.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.008546/9.76, allocations: 2.046 MB / 3.289 GB, free: 71.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002079/9.762, allocations: 465.6 kB / 3.29 GB, free: 71.05 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/9.762, allocations: 0 / 3.29 GB, free: 71.05 MB / 0.698 GB Notification: Performance of Templates: time 0.1875/9.95, allocations: 113.9 MB / 3.401 GB, free: 65.41 MB / 0.698 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)