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.738/1.738, allocations: 288.4 MB / 303.4 MB, free: 8.254 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.001125/0.001125, allocations: 184.5 kB / 372 MB, free: 10.25 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.659/1.659, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008352/0.0008353, allocations: 82.27 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004155, allocations: 15.3 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2494, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04454/0.294, allocations: 51.54 MB / 1.03 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0238/0.3178, allocations: 16.74 MB / 1.046 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/0.3211, allocations: 59.62 kB / 1.046 GB, free: 7.129 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.3237, allocations: 0.6286 MB / 1.047 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007731/0.3314, allocations: 1.962 MB / 1.049 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.3356, allocations: 1.089 MB / 1.05 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.6235/0.9592, allocations: 23.48 MB / 1.073 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01758/0.9768, allocations: 7.142 MB / 1.08 GB, free: 27.82 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01643/0.9932, allocations: 5.295 MB / 1.085 GB, free: 27.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.018/1.011, allocations: 5.483 MB / 1.09 GB, free: 27.8 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003898/1.015, allocations: 346.5 kB / 1.091 GB, free: 27.8 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/1.028, allocations: 0.7853 MB / 1.091 GB, free: 27.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006964/1.035, allocations: 1.515 MB / 1.093 GB, free: 27.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.008782/1.044, allocations: 1.602 MB / 1.094 GB, free: 27.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01801/1.062, allocations: 10.28 MB / 1.105 GB, free: 27.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/1.062, allocations: 2.062 kB / 1.105 GB, free: 27.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.729e-06/1.062, allocations: 0 / 1.105 GB, free: 27.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0008444/1.063, allocations: 2.25 kB / 1.105 GB, free: 27.24 MB / 0.698 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.02838/1.092, allocations: 6.907 MB / 1.111 GB, free: 24.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/1.092, allocations: 9.438 kB / 1.111 GB, free: 24.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006979/1.099, allocations: 0.8506 MB / 1.112 GB, free: 24.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02002/1.119, allocations: 6.349 MB / 1.118 GB, free: 22.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008921/1.12, allocations: 462.6 kB / 1.119 GB, free: 22.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/1.124, allocations: 0.5937 MB / 1.119 GB, free: 22.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03541/1.159, allocations: 8.988 MB / 1.128 GB, free: 19.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006427/1.16, allocations: 17.31 kB / 1.128 GB, free: 19.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003414/1.163, allocations: 265.5 kB / 1.128 GB, free: 19.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003596/1.164, allocations: 182.4 kB / 1.129 GB, free: 19.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/1.188, allocations: 7.41 MB / 1.136 GB, free: 18.34 MB / 0.698 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.07428/1.262, allocations: 35.94 MB / 1.171 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009413/1.271, allocations: 4.27 MB / 1.175 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006986/1.278, allocations: 3.378 MB / 1.178 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001695/1.28, allocations: 0.9911 MB / 1.179 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005893/1.286, allocations: 2.378 MB / 1.182 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005047/1.291, allocations: 439.8 kB / 1.182 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 1.923e-05/1.291, allocations: 7.562 kB / 1.182 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.01896/1.31, allocations: 7.087 MB / 1.189 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.9e-05/1.31, allocations: 87.55 kB / 1.189 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/1.325, allocations: 5.334 MB / 1.194 GB, free: 432 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00123/1.326, allocations: 85.7 kB / 1.194 GB, free: 340 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004943/1.331, allocations: 3.17 MB / 1.197 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002619/1.334, allocations: 1.114 MB / 1.199 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009314/1.335, allocations: 88 kB / 1.199 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005432/1.335, allocations: 487.6 kB / 1.199 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005735/1.341, allocations: 2.152 MB / 1.201 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006146/1.347, allocations: 3.673 MB / 1.205 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005729/1.353, allocations: 2.891 MB / 1.208 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.263e-05/1.353, allocations: 23.94 kB / 1.208 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01779/1.371, allocations: 6.717 MB / 1.214 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.371, allocations: 55.8 kB / 1.214 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/1.371, allocations: 52 kB / 1.214 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/1.372, allocations: 437.4 kB / 1.215 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005085/1.378, allocations: 1.016 MB / 1.216 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/1.384, allocations: 5.249 MB / 1.221 GB, free: 4.172 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0076/1.392, allocations: 470.8 kB / 1.221 GB, free: 3.711 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00173/1.394, allocations: 216 kB / 1.221 GB, free: 3.5 MB / 0.7605 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.01037/1.404, allocations: 2.455 MB / 1.224 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003234/1.407, allocations: 0.5249 MB / 1.224 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/1.421, allocations: 5.245 MB / 1.23 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.461e-05/1.421, allocations: 32 kB / 1.23 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.003e-05/1.421, allocations: 7.844 kB / 1.23 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008516/1.43, allocations: 4.506 MB / 1.234 GB, free: 6.574 MB / 0.7761 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.03462/1.464, allocations: 11.95 MB / 1.246 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/1.464, allocations: 4 kB / 1.246 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003333/1.468, allocations: 0.6516 MB / 1.246 GB, free: 9.867 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/1.469, allocations: 371.6 kB / 1.247 GB, free: 9.5 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006063/1.469, allocations: 91.91 kB / 1.247 GB, free: 9.41 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006196/1.476, allocations: 5.17 MB / 1.252 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.476, allocations: 4 kB / 1.252 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/1.493, allocations: 7.588 MB / 1.259 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005585/1.499, allocations: 1.217 MB / 1.26 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003031/1.502, allocations: 67.98 kB / 1.26 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006819/1.509, allocations: 470.5 kB / 1.261 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/1.51, allocations: 198.2 kB / 1.261 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001073/1.511, allocations: 143.8 kB / 1.261 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.009916/1.521, allocations: 3.703 MB / 1.265 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.31e-07/1.521, allocations: 0 / 1.265 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01168/1.533, allocations: 1.975 MB / 1.267 GB, free: 4.535 MB / 0.8073 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.002409/1.535, allocations: 471.8 kB / 1.267 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01302/1.548, allocations: 5.354 MB / 1.272 GB, free: 14.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/1.548, allocations: 0 / 1.272 GB, free: 14.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/1.553, allocations: 2.502 MB / 1.275 GB, free: 12.16 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02181/1.575, allocations: 3.237 MB / 1.278 GB, free: 8.992 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03928/1.615, allocations: 16.05 MB / 1.294 GB, free: 8.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01057/1.625, allocations: 4.591 MB / 1.298 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0102/1.635, allocations: 2.01 MB / 1.3 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002543/1.638, allocations: 451.3 kB / 1.301 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of SimCode: time 2.665e-06/1.638, allocations: 4 kB / 1.301 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of Templates: time 0.202/1.84, allocations: 112 MB / 1.41 GB, free: 2.586 MB / 0.948 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)