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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009854/0.0009853, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4893/0.4893, allocations: 90.92 MB / 99.35 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 343.2 MB, free: 1.613 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 107.2 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.276e-05/1.278e-05, allocations: 7.984 kB / 494.5 MB, free: 52.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1519, allocations: 72.32 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.263, allocations: 370.7 MB / 0.9155 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.263, allocations: 94.75 kB / 0.9156 GB, free: 110 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.615/9.879, allocations: 2.241 GB / 3.157 GB, free: 56.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.525e-06/9.879, allocations: 8.953 kB / 3.157 GB, free: 56.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001007/9.88, allocations: 190.2 kB / 3.157 GB, free: 56.74 MB / 0.6355 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.02035/9.9, allocations: 6.152 MB / 3.163 GB, free: 54.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/9.9, allocations: 7.375 kB / 3.163 GB, free: 54.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00537/9.906, allocations: 0.8457 MB / 3.164 GB, free: 54.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/9.924, allocations: 7.922 MB / 3.172 GB, free: 53.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/9.925, allocations: 195.9 kB / 3.172 GB, free: 53.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002811/9.928, allocations: 358.9 kB / 3.172 GB, free: 53.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01655/9.944, allocations: 6.314 MB / 3.179 GB, free: 53.29 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02321/9.967, allocations: 7.443 MB / 3.186 GB, free: 52.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000422/9.968, allocations: 22.34 kB / 3.186 GB, free: 52.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002367/9.97, allocations: 11.06 kB / 3.186 GB, free: 52.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002592/9.971, allocations: 243.4 kB / 3.186 GB, free: 52.36 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.05278/10.02, allocations: 33.06 MB / 3.218 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005657/10.03, allocations: 4.008 MB / 3.222 GB, free: 37.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004057/10.03, allocations: 3.093 MB / 3.225 GB, free: 37.67 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/10.03, allocations: 0.9573 MB / 3.226 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003516/10.04, allocations: 2.182 MB / 3.228 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003558/10.04, allocations: 365.9 kB / 3.229 GB, free: 36.46 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 1.014e-05/10.04, allocations: 0 / 3.229 GB, free: 36.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.008478/10.05, allocations: 4.538 MB / 3.233 GB, free: 36.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/10.05, allocations: 88.91 kB / 3.233 GB, free: 35.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/10.06, allocations: 4.317 MB / 3.237 GB, free: 35.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0005171/10.06, allocations: 30.83 kB / 3.238 GB, free: 35.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.003747/10.07, allocations: 3.167 MB / 3.241 GB, free: 34.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/10.07, allocations: 1.076 MB / 3.242 GB, free: 33.56 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/10.07, allocations: 1.469 kB / 3.242 GB, free: 33.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003354/10.07, allocations: 491.5 kB / 3.242 GB, free: 33.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/10.07, allocations: 1.961 MB / 3.244 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003541/10.07, allocations: 3.466 MB / 3.247 GB, free: 31.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004609/10.08, allocations: 2.95 MB / 3.25 GB, free: 31.37 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.588e-05/10.08, allocations: 14.12 kB / 3.25 GB, free: 31.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0105/10.09, allocations: 6.23 MB / 3.256 GB, free: 30.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/10.09, allocations: 59.64 kB / 3.256 GB, free: 30.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/10.09, allocations: 50.06 kB / 3.257 GB, free: 30.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009337/10.09, allocations: 431.6 kB / 3.257 GB, free: 30.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/10.09, allocations: 1.034 MB / 3.258 GB, free: 30.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005034/10.1, allocations: 5.142 MB / 3.263 GB, free: 28.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005857/10.1, allocations: 380.7 kB / 3.263 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007506/10.11, allocations: 222.4 kB / 3.264 GB, free: 28.27 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.001342/10.11, allocations: 245.2 kB / 3.264 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001776/10.11, allocations: 475.1 kB / 3.264 GB, free: 27.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009677/10.12, allocations: 5.02 MB / 3.269 GB, free: 27.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-05/10.12, allocations: 29.28 kB / 3.269 GB, free: 27.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/10.12, allocations: 5.219 kB / 3.269 GB, free: 27.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007197/10.13, allocations: 4.416 MB / 3.273 GB, free: 27.18 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.02724/10.15, allocations: 11.14 MB / 3.284 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/10.15, allocations: 7.766 kB / 3.284 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002871/10.16, allocations: 0.6232 MB / 3.285 GB, free: 26.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007978/10.16, allocations: 356.2 kB / 3.285 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004527/10.16, allocations: 50.11 kB / 3.285 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004912/10.16, allocations: 5.03 MB / 3.29 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/10.16, allocations: 6.75 kB / 3.29 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/10.17, allocations: 7.44 MB / 3.298 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004351/10.18, allocations: 1.201 MB / 3.299 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002049/10.18, allocations: 21.8 kB / 3.299 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005316/10.19, allocations: 353.8 kB / 3.299 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005181/10.19, allocations: 198.5 kB / 3.299 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005419/10.19, allocations: 141.1 kB / 3.299 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.007754/10.2, allocations: 3.275 MB / 3.303 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/10.2, allocations: 0 / 3.303 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01148/10.21, allocations: 2.025 MB / 3.305 GB, free: 19.22 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.002657/10.21, allocations: 0.7982 MB / 3.305 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008737/10.22, allocations: 4.944 MB / 3.31 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/10.22, allocations: 9.844 kB / 3.31 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003736/10.22, allocations: 2.332 MB / 3.312 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01485/10.24, allocations: 2.485 MB / 3.315 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/10.27, allocations: 11.33 MB / 3.326 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008211/10.28, allocations: 4.754 MB / 3.331 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00907/10.29, allocations: 1.876 MB / 3.332 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002414/10.29, allocations: 436.7 kB / 3.333 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of SimCode: time 2.765e-06/10.29, allocations: 0 / 3.333 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of Templates: time 0.6277/10.92, allocations: 93.29 MB / 3.424 GB, free: 62.11 MB / 0.6511 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)