Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.3 MB / 303.2 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 181 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 94.88 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003809, allocations: 15.81 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2296, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.03783/0.2674, allocations: 46.83 MB / 1.025 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02152/0.289, allocations: 15.47 MB / 1.04 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.2922, allocations: 63.62 kB / 1.04 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.295, allocations: 0.8122 MB / 1.041 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007738/0.3027, allocations: 2.123 MB / 1.043 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004709/0.3075, allocations: 1.574 MB / 1.045 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01332/0.3208, allocations: 11.35 MB / 1.056 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009727/0.3306, allocations: 7.154 MB / 1.063 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009887/0.3405, allocations: 4.481 MB / 1.067 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5251/0.8657, allocations: 3.844 MB / 1.071 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.003526/0.8692, allocations: 346 kB / 1.071 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008401/0.8777, allocations: 0.8371 MB / 1.072 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004483/0.8822, allocations: 1.461 MB / 1.073 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00656/0.8888, allocations: 1.605 MB / 1.075 GB, free: 17.51 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01973/0.9085, allocations: 10.23 MB / 1.085 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.9086, allocations: 0 / 1.085 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.404e-06/0.9086, allocations: 0 / 1.085 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006514/0.9093, allocations: 0 / 1.085 GB, free: 16.93 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.02776/0.937, allocations: 6.905 MB / 1.092 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.815e-05/0.9371, allocations: 9.531 kB / 1.092 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008868/0.946, allocations: 0.8478 MB / 1.093 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/0.9639, allocations: 5.914 MB / 1.098 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007243/0.9647, allocations: 461.1 kB / 1.099 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003925/0.9686, allocations: 0.6017 MB / 1.099 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02924/0.9979, allocations: 8.937 MB / 1.108 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000237/0.9981, allocations: 21 kB / 1.108 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/1, allocations: 261.8 kB / 1.108 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002032/1, allocations: 181.1 kB / 1.109 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02168/1.022, allocations: 7.415 MB / 1.116 GB, free: 10.47 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.0745/1.097, allocations: 36.19 MB / 1.151 GB, free: 4.148 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008598/1.105, allocations: 4.33 MB / 1.155 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/1.107, allocations: 0.9816 MB / 1.156 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005878/1.113, allocations: 2.39 MB / 1.159 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005153/1.118, allocations: 474.8 kB / 1.159 GB, free: 1.246 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 1.509e-05/1.118, allocations: 0 / 1.159 GB, free: 1.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.01837/1.136, allocations: 7.143 MB / 1.166 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/1.136, allocations: 87.03 kB / 1.166 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01461/1.151, allocations: 5.752 MB / 1.172 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.001264/1.152, allocations: 89.7 kB / 1.172 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004909/1.157, allocations: 3.16 MB / 1.175 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00244/1.16, allocations: 1.126 MB / 1.176 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009621/1.161, allocations: 88 kB / 1.176 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004919/1.161, allocations: 490.2 kB / 1.177 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004684/1.166, allocations: 2.17 MB / 1.179 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006411/1.172, allocations: 3.673 MB / 1.182 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006222/1.179, allocations: 2.928 MB / 1.185 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-05/1.179, allocations: 12 kB / 1.185 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01774/1.197, allocations: 6.757 MB / 1.192 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000145/1.197, allocations: 62.62 kB / 1.192 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.197, allocations: 48 kB / 1.192 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/1.198, allocations: 439 kB / 1.192 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/1.203, allocations: 1.063 MB / 1.193 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/1.209, allocations: 5.32 MB / 1.199 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008295/1.218, allocations: 486.8 kB / 1.199 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001438/1.219, allocations: 216 kB / 1.199 GB, free: 11.4 MB / 0.7448 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.009298/1.229, allocations: 2.454 MB / 1.202 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003177/1.232, allocations: 0.5172 MB / 1.202 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.246, allocations: 5.295 MB / 1.207 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.587e-05/1.246, allocations: 34.62 kB / 1.207 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.246, allocations: 4 kB / 1.207 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008123/1.254, allocations: 4.552 MB / 1.212 GB, free: 14.48 MB / 0.7605 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.03098/1.285, allocations: 12.14 MB / 1.224 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.285, allocations: 4 kB / 1.224 GB, free: 2.234 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003093/1.288, allocations: 0.6211 MB / 1.224 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009921/1.289, allocations: 375.7 kB / 1.225 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006186/1.29, allocations: 83.95 kB / 1.225 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006302/1.296, allocations: 5.239 MB / 1.23 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.296, allocations: 0 / 1.23 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.312, allocations: 7.768 MB / 1.237 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005976/1.318, allocations: 1.305 MB / 1.239 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002426/1.321, allocations: 67.98 kB / 1.239 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006035/1.327, allocations: 442.7 kB / 1.239 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004577/1.327, allocations: 201.8 kB / 1.239 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004687/1.328, allocations: 139.9 kB / 1.24 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00904/1.337, allocations: 4.031 MB / 1.243 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.81e-07/1.337, allocations: 0 / 1.243 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01219/1.349, allocations: 2.003 MB / 1.245 GB, free: 11.68 MB / 0.7917 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.002557/1.352, allocations: 497.3 kB / 1.246 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.364, allocations: 5.39 MB / 1.251 GB, free: 5.957 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/1.364, allocations: 6.438 kB / 1.251 GB, free: 5.953 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005471/1.369, allocations: 2.513 MB / 1.254 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0187/1.388, allocations: 3.175 MB / 1.257 GB, free: 372 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03236/1.42, allocations: 16.02 MB / 1.272 GB, free: 340 kB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00542/1.426, allocations: 4.718 MB / 1.277 GB, free: 11.58 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.008039/1.434, allocations: 2.062 MB / 1.279 GB, free: 9.527 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001856/1.436, allocations: 457.9 kB / 1.279 GB, free: 9.082 MB / 0.823 GB Notification: Performance of SimCode: time 1.382e-06/1.436, allocations: 0 / 1.279 GB, free: 9.082 MB / 0.823 GB Notification: Performance of Templates: time 0.2229/1.659, allocations: 113.6 MB / 1.39 GB, free: 8.504 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)