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.0009544/0.0009544, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.474/0.474, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.366/1.366, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008834, allocations: 96.97 kB / 421.2 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.342e-05, allocations: 8 kB / 0.4896 GB, free: 5.359 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4198, allocations: 72.3 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6893/1.109, allocations: 371.4 MB / 0.9229 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.109, allocations: 90.33 kB / 0.923 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.27/9.38, allocations: 2.253 GB / 3.176 GB, free: 57.37 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.365e-06/9.38, allocations: 0 / 3.176 GB, free: 57.37 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.001315/9.381, allocations: 192 kB / 3.176 GB, free: 57.34 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.0212/9.402, allocations: 6.142 MB / 3.182 GB, free: 55.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/9.402, allocations: 10.33 kB / 3.182 GB, free: 55.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005695/9.408, allocations: 0.8523 MB / 3.183 GB, free: 54.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/9.429, allocations: 7.926 MB / 3.191 GB, free: 53.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005475/9.43, allocations: 458.2 kB / 3.191 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002842/9.432, allocations: 0.5993 MB / 3.192 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/9.457, allocations: 8.316 MB / 3.2 GB, free: 52.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004475/9.457, allocations: 25.94 kB / 3.2 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002472/9.46, allocations: 265.7 kB / 3.2 GB, free: 52.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/9.46, allocations: 239.8 kB / 3.2 GB, free: 52.83 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/9.476, allocations: 6.723 MB / 3.207 GB, free: 52.79 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.05903/9.536, allocations: 34.23 MB / 3.24 GB, free: 38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006884/9.542, allocations: 4.176 MB / 3.244 GB, free: 37.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004973/9.548, allocations: 3.469 MB / 3.248 GB, free: 37.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/9.549, allocations: 0.9543 MB / 3.249 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004449/9.553, allocations: 2.288 MB / 3.251 GB, free: 36.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004054/9.557, allocations: 487.2 kB / 3.251 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=317): time 2.137e-05/9.557, allocations: 2.625 kB / 3.251 GB, free: 35.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=317): time 0.008999/9.566, allocations: 4.523 MB / 3.256 GB, free: 34.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/9.566, allocations: 87.97 kB / 3.256 GB, free: 34.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/9.578, allocations: 5.217 MB / 3.261 GB, free: 32.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/9.579, allocations: 87.89 kB / 3.261 GB, free: 32.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.003857/9.583, allocations: 3.185 MB / 3.264 GB, free: 29.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001811/9.585, allocations: 1.118 MB / 3.265 GB, free: 29.08 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008095/9.585, allocations: 89.44 kB / 3.265 GB, free: 29.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0004157/9.586, allocations: 494.4 kB / 3.266 GB, free: 28.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/9.59, allocations: 2.051 MB / 3.268 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004576/9.594, allocations: 3.576 MB / 3.271 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004574/9.599, allocations: 2.83 MB / 3.274 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.149e-05/9.599, allocations: 18.14 kB / 3.274 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01476/9.614, allocations: 6.547 MB / 3.281 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.38e-05/9.614, allocations: 50.77 kB / 3.281 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-05/9.614, allocations: 49.44 kB / 3.281 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009831/9.615, allocations: 440 kB / 3.281 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003982/9.619, allocations: 1.036 MB / 3.282 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004777/9.624, allocations: 5.303 MB / 3.287 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006971/9.631, allocations: 472.1 kB / 3.288 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/9.632, allocations: 222.7 kB / 3.288 GB, free: 17.68 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.001976/9.634, allocations: 393.8 kB / 3.288 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002276/9.636, allocations: 0.532 MB / 3.289 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/9.647, allocations: 5.08 MB / 3.294 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.114e-05/9.647, allocations: 32 kB / 3.294 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/9.647, allocations: 4 kB / 3.294 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00594/9.653, allocations: 4.361 MB / 3.298 GB, free: 9.363 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.02529/9.678, allocations: 11.86 MB / 3.31 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/9.678, allocations: 2.781 kB / 3.31 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004449/9.683, allocations: 0.7819 MB / 3.31 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008527/9.683, allocations: 361.1 kB / 3.311 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004011/9.684, allocations: 85.92 kB / 3.311 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005618/9.689, allocations: 5.209 MB / 3.316 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/9.689, allocations: 4 kB / 3.316 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/9.702, allocations: 7.527 MB / 3.323 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004572/9.707, allocations: 1.266 MB / 3.325 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001984/9.709, allocations: 71.84 kB / 3.325 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005459/9.714, allocations: 407.9 kB / 3.325 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005767/9.715, allocations: 204.5 kB / 3.325 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005841/9.715, allocations: 137.7 kB / 3.325 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.4614/10.18, allocations: 4.356 MB / 3.33 GB, free: 67.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.62e-07/10.18, allocations: 0 / 3.33 GB, free: 67.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01015/10.19, allocations: 2.056 MB / 3.332 GB, free: 67.93 MB / 0.6511 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.002406/10.19, allocations: 0.8303 MB / 3.332 GB, free: 67.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.008764/10.2, allocations: 5.199 MB / 3.337 GB, free: 67.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/10.2, allocations: 3.531 kB / 3.337 GB, free: 67.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/10.2, allocations: 2.425 MB / 3.34 GB, free: 67.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01602/10.22, allocations: 3.167 MB / 3.343 GB, free: 67.17 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/10.24, allocations: 11.69 MB / 3.354 GB, free: 65.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004235/10.24, allocations: 4.75 MB / 3.359 GB, free: 64.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.007659/10.25, allocations: 2.099 MB / 3.361 GB, free: 64.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/10.25, allocations: 466.8 kB / 3.361 GB, free: 64.17 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/10.25, allocations: 0 / 3.361 GB, free: 64.17 MB / 0.6511 GB Notification: Performance of Templates: time 0.1817/10.44, allocations: 119.4 MB / 3.478 GB, free: 53.57 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)