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.001577/0.001577, allocations: 182.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4997/0.4997, allocations: 91.99 MB / 108.5 MB, free: 13.07 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.554/1.554, allocations: 223.2 MB / 354.3 MB, free: 12.12 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.001103/0.001103, allocations: 88.23 kB / 427.4 MB, free: 3.871 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003776, allocations: 8 kB / 0.4982 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1779, allocations: 72.32 MB / 0.5689 GB, free: 1.914 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.429, allocations: 371.4 MB / 0.9316 GB, free: 95.27 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.43, allocations: 93.88 kB / 0.9317 GB, free: 95.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.422/9.852, allocations: 2.258 GB / 3.19 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.405e-06/9.852, allocations: 0 / 3.19 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001258/9.853, allocations: 193.5 kB / 3.19 GB, free: 5.664 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.7465/10.6, allocations: 7.277 MB / 3.197 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/10.6, allocations: 9.531 kB / 3.197 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005837/10.61, allocations: 0.8487 MB / 3.198 GB, free: 49.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02367/10.63, allocations: 7.968 MB / 3.206 GB, free: 48.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005643/10.63, allocations: 461.5 kB / 3.206 GB, free: 48.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002623/10.63, allocations: 0.5938 MB / 3.207 GB, free: 48.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0247/10.66, allocations: 8.452 MB / 3.215 GB, free: 47.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002141/10.66, allocations: 23.22 kB / 3.215 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/10.66, allocations: 259.9 kB / 3.216 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002585/10.66, allocations: 244.6 kB / 3.216 GB, free: 47.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/10.68, allocations: 6.894 MB / 3.223 GB, free: 47.59 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.06315/10.74, allocations: 34.23 MB / 3.256 GB, free: 48.96 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007651/10.75, allocations: 4.268 MB / 3.26 GB, free: 48.91 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/10.75, allocations: 0.9563 MB / 3.261 GB, free: 47.97 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004912/10.75, allocations: 2.367 MB / 3.263 GB, free: 47.86 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0045/10.76, allocations: 480.6 kB / 3.264 GB, free: 47.64 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=317): time 1.724e-05/10.76, allocations: 0 / 3.264 GB, free: 47.64 MB / 0.6512 GB Notification: Performance of matching and sorting (n=317): time 0.01449/10.77, allocations: 7.067 MB / 3.271 GB, free: 47 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/10.77, allocations: 87.81 kB / 3.271 GB, free: 46.94 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/10.78, allocations: 5.272 MB / 3.276 GB, free: 46.59 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.001087/10.79, allocations: 89.8 kB / 3.276 GB, free: 46.56 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.004232/10.79, allocations: 3.179 MB / 3.279 GB, free: 45.32 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001949/10.79, allocations: 1.116 MB / 3.28 GB, free: 44.62 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008756/10.79, allocations: 89.41 kB / 3.28 GB, free: 44.62 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 0.0004994/10.79, allocations: 493.9 kB / 3.281 GB, free: 44.31 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004141/10.8, allocations: 2.123 MB / 3.283 GB, free: 44.29 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005229/10.8, allocations: 3.662 MB / 3.286 GB, free: 42.46 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005015/10.81, allocations: 2.896 MB / 3.289 GB, free: 42.38 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-05/10.81, allocations: 17.77 kB / 3.289 GB, free: 42.38 MB / 0.6512 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01461/10.82, allocations: 6.702 MB / 3.296 GB, free: 41.93 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/10.82, allocations: 56.08 kB / 3.296 GB, free: 41.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/10.82, allocations: 49.56 kB / 3.296 GB, free: 41.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/10.82, allocations: 443.6 kB / 3.296 GB, free: 41.88 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00432/10.83, allocations: 1.03 MB / 3.297 GB, free: 41.88 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00571/10.83, allocations: 5.396 MB / 3.303 GB, free: 39.18 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007888/10.84, allocations: 481.5 kB / 3.303 GB, free: 39.12 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001354/10.84, allocations: 220.2 kB / 3.303 GB, free: 39.12 MB / 0.6512 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.007079/10.85, allocations: 2.483 MB / 3.306 GB, free: 38.98 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002483/10.85, allocations: 0.5296 MB / 3.306 GB, free: 38.7 MB / 0.6512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/10.86, allocations: 5.22 MB / 3.311 GB, free: 38.47 MB / 0.6512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/10.86, allocations: 33.95 kB / 3.311 GB, free: 38.47 MB / 0.6512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/10.86, allocations: 3.625 kB / 3.311 GB, free: 38.47 MB / 0.6512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006678/10.87, allocations: 4.504 MB / 3.316 GB, free: 38 MB / 0.6512 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.03179/10.9, allocations: 11.83 MB / 3.327 GB, free: 37.22 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/10.9, allocations: 0.9375 kB / 3.327 GB, free: 37.22 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003374/10.91, allocations: 0.6215 MB / 3.328 GB, free: 37.22 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009438/10.91, allocations: 373.6 kB / 3.328 GB, free: 37.2 MB / 0.6512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00069/10.91, allocations: 77.89 kB / 3.328 GB, free: 37.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005814/10.91, allocations: 5.307 MB / 3.334 GB, free: 34.49 MB / 0.6512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/10.91, allocations: 6.125 kB / 3.334 GB, free: 34.49 MB / 0.6512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/10.93, allocations: 7.738 MB / 3.341 GB, free: 33.52 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006059/10.93, allocations: 1.265 MB / 3.342 GB, free: 32.84 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003082/10.94, allocations: 64.61 kB / 3.342 GB, free: 32.8 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006537/10.94, allocations: 419.7 kB / 3.343 GB, free: 32.73 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009136/10.94, allocations: 201.7 kB / 3.343 GB, free: 32.7 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008768/10.95, allocations: 140.4 kB / 3.343 GB, free: 32.68 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.009433/10.95, allocations: 4.103 MB / 3.347 GB, free: 31.27 MB / 0.6512 GB Notification: Performance of sort global known variables: time 2.184e-06/10.95, allocations: 3.875 kB / 3.347 GB, free: 31.27 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.01197/10.97, allocations: 2.069 MB / 3.349 GB, free: 30.87 MB / 0.6512 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.003058/10.97, allocations: 0.8321 MB / 3.35 GB, free: 30.64 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.0116/10.98, allocations: 5.351 MB / 3.355 GB, free: 28.78 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/10.98, allocations: 7.688 kB / 3.355 GB, free: 28.78 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.005038/10.99, allocations: 2.491 MB / 3.358 GB, free: 27.8 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01741/11, allocations: 3.169 MB / 3.361 GB, free: 27.3 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/11.04, allocations: 16.09 MB / 3.376 GB, free: 19.72 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00964/11.05, allocations: 4.748 MB / 3.381 GB, free: 18.08 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.01026/11.06, allocations: 2.143 MB / 3.383 GB, free: 17.91 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002872/11.06, allocations: 460.1 kB / 3.384 GB, free: 17.88 MB / 0.6512 GB Notification: Performance of SimCode: time 1.332e-06/11.06, allocations: 0 / 3.384 GB, free: 17.88 MB / 0.6512 GB Notification: Performance of Templates: time 0.6344/11.7, allocations: 117.5 MB / 3.498 GB, free: 64.16 MB / 0.6668 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)