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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001173/0.001173, allocations: 172.4 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5151/0.5151, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.515/1.515, allocations: 223.2 MB / 348.4 MB, free: 4.895 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.0008967/0.0008967, allocations: 94.61 kB / 420.2 MB, free: 9.629 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 8 kB / 0.4901 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3922, allocations: 71.01 MB / 0.5594 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7095/1.102, allocations: 369.6 MB / 0.9203 GB, free: 7.652 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/1.102, allocations: 98.3 kB / 0.9204 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.569/8.671, allocations: 2.209 GB / 3.13 GB, free: 65.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.154e-06/8.671, allocations: 0 / 3.13 GB, free: 65.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001098/8.672, allocations: 187.9 kB / 3.13 GB, free: 65.67 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.02238/8.695, allocations: 7.132 MB / 3.137 GB, free: 63.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/8.695, allocations: 10.84 kB / 3.137 GB, free: 63.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/8.7, allocations: 0.8488 MB / 3.138 GB, free: 62.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/8.716, allocations: 7.478 MB / 3.145 GB, free: 61.58 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004783/8.717, allocations: 462.5 kB / 3.145 GB, free: 61.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002322/8.719, allocations: 0.603 MB / 3.146 GB, free: 61.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/8.737, allocations: 8.481 MB / 3.154 GB, free: 60.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001892/8.737, allocations: 27.78 kB / 3.154 GB, free: 60.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009747/8.738, allocations: 262 kB / 3.155 GB, free: 60.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001459/8.738, allocations: 181.4 kB / 3.155 GB, free: 60.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/8.752, allocations: 6.892 MB / 3.161 GB, free: 60.55 MB / 0.6355 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.04444/8.796, allocations: 33.99 MB / 3.195 GB, free: 45.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005699/8.802, allocations: 4.203 MB / 3.199 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004118/8.806, allocations: 3.517 MB / 3.202 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009457/8.807, allocations: 0.95 MB / 3.203 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003429/8.81, allocations: 2.352 MB / 3.205 GB, free: 41.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003412/8.814, allocations: 454.2 kB / 3.206 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 9.988e-06/8.814, allocations: 4 kB / 3.206 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.01136/8.825, allocations: 7.032 MB / 3.213 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/8.825, allocations: 86.47 kB / 3.213 GB, free: 38.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007582/8.833, allocations: 5.351 MB / 3.218 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0008325/8.834, allocations: 92.7 kB / 3.218 GB, free: 36.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/8.836, allocations: 3.161 MB / 3.221 GB, free: 34.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001432/8.838, allocations: 1.116 MB / 3.222 GB, free: 33.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/8.838, allocations: 89.62 kB / 3.222 GB, free: 33.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002187/8.838, allocations: 489.5 kB / 3.223 GB, free: 33.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002806/8.841, allocations: 2.111 MB / 3.225 GB, free: 32.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003468/8.845, allocations: 3.646 MB / 3.228 GB, free: 29.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006918/8.852, allocations: 6.222 MB / 3.235 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.961e-05/8.852, allocations: 14.69 kB / 3.235 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01135/8.863, allocations: 6.659 MB / 3.241 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/8.863, allocations: 50.64 kB / 3.241 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.438e-05/8.863, allocations: 52 kB / 3.241 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008344/8.864, allocations: 430.9 kB / 3.242 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/8.868, allocations: 0.9877 MB / 3.243 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/8.873, allocations: 5.326 MB / 3.248 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/8.879, allocations: 465.6 kB / 3.248 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009032/8.88, allocations: 218.9 kB / 3.248 GB, free: 15.91 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 () * Number of clocked 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.005519/8.885, allocations: 2.46 MB / 3.251 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/8.887, allocations: 0.5211 MB / 3.251 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009218/8.896, allocations: 5.164 MB / 3.256 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.663e-05/8.896, allocations: 32 kB / 3.256 GB, free: 8.996 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/8.896, allocations: 7.281 kB / 3.256 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006402/8.902, allocations: 4.443 MB / 3.261 GB, free: 5.09 MB / 0.6355 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.3986/9.301, allocations: 11.89 MB / 3.272 GB, free: 61.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/9.301, allocations: 3.562 kB / 3.272 GB, free: 61.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002861/9.304, allocations: 0.6584 MB / 3.273 GB, free: 61.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007766/9.305, allocations: 361.7 kB / 3.273 GB, free: 61.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003081/9.305, allocations: 90.2 kB / 3.273 GB, free: 61.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004355/9.31, allocations: 5.209 MB / 3.278 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/9.31, allocations: 7.844 kB / 3.278 GB, free: 59.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01084/9.32, allocations: 7.548 MB / 3.286 GB, free: 58.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003942/9.324, allocations: 1.199 MB / 3.287 GB, free: 58.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/9.326, allocations: 68.23 kB / 3.287 GB, free: 58.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00438/9.33, allocations: 451.8 kB / 3.288 GB, free: 58.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/9.331, allocations: 203.8 kB / 3.288 GB, free: 58.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/9.331, allocations: 139.2 kB / 3.288 GB, free: 58.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.007081/9.338, allocations: 3.712 MB / 3.291 GB, free: 58.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/9.338, allocations: 1.156 kB / 3.291 GB, free: 58.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.008117/9.346, allocations: 2.029 MB / 3.293 GB, free: 58.44 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) * Number of clocked states: 0 () * 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.002011/9.348, allocations: 0.8191 MB / 3.294 GB, free: 58.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008657/9.357, allocations: 5.305 MB / 3.299 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/9.357, allocations: 4.75 kB / 3.299 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003413/9.361, allocations: 2.482 MB / 3.302 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0164/9.377, allocations: 3.189 MB / 3.305 GB, free: 57.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/9.399, allocations: 16.02 MB / 3.321 GB, free: 52.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004463/9.404, allocations: 4.607 MB / 3.325 GB, free: 51.23 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.007179/9.411, allocations: 2.028 MB / 3.327 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/9.413, allocations: 461.8 kB / 3.328 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of SimCode: time 5.01e-07/9.413, allocations: 0 / 3.328 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.1672/9.58, allocations: 117.9 MB / 3.443 GB, free: 27.9 MB / 0.6355 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)