Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.946/1.946, allocations: 287.5 MB / 302.6 MB, free: 8.117 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.001141/0.001141, allocations: 186.5 kB / 371.2 MB, free: 10.75 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.68/1.68, allocations: 205.4 MB / 0.6299 GB, free: 10.57 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.0008117/0.0008117, allocations: 95.66 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004001, allocations: 15.81 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2527, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05356/0.3063, allocations: 51.55 MB / 1.029 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02552/0.3319, allocations: 16.74 MB / 1.045 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.3355, allocations: 67.56 kB / 1.045 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003272/0.3388, allocations: 0.6326 MB / 1.046 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008681/0.3475, allocations: 1.971 MB / 1.048 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006057/0.3536, allocations: 1.083 MB / 1.049 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.6072/0.9608, allocations: 23.57 MB / 1.072 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0179/0.9788, allocations: 8.381 MB / 1.08 GB, free: 26.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01674/0.9956, allocations: 5.296 MB / 1.085 GB, free: 26.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01727/1.013, allocations: 5.486 MB / 1.091 GB, free: 26.74 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003484/1.016, allocations: 346.6 kB / 1.091 GB, free: 26.74 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009405/1.026, allocations: 0.7839 MB / 1.092 GB, free: 26.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00544/1.031, allocations: 1.519 MB / 1.093 GB, free: 26.74 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.006583/1.038, allocations: 1.6 MB / 1.095 GB, free: 26.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01799/1.056, allocations: 10.29 MB / 1.105 GB, free: 26.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.056, allocations: 0 / 1.105 GB, free: 26.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.786e-06/1.056, allocations: 0 / 1.105 GB, free: 26.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0007228/1.057, allocations: 1.219 kB / 1.105 GB, free: 26.18 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.02524/1.082, allocations: 6.834 MB / 1.112 GB, free: 23.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.872e-05/1.082, allocations: 12.66 kB / 1.112 GB, free: 23.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008549/1.091, allocations: 0.8485 MB / 1.112 GB, free: 22.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0182/1.109, allocations: 6.497 MB / 1.119 GB, free: 22.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007635/1.11, allocations: 457.9 kB / 1.119 GB, free: 22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003603/1.113, allocations: 0.6018 MB / 1.12 GB, free: 21.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02769/1.141, allocations: 8.982 MB / 1.129 GB, free: 19.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002597/1.141, allocations: 19.56 kB / 1.129 GB, free: 19.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002094/1.143, allocations: 258.3 kB / 1.129 GB, free: 19.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002075/1.144, allocations: 180.4 kB / 1.129 GB, free: 19.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/1.162, allocations: 7.413 MB / 1.136 GB, free: 18.07 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.06559/1.227, allocations: 35.97 MB / 1.171 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007398/1.235, allocations: 4.264 MB / 1.176 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005464/1.24, allocations: 3.385 MB / 1.179 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/1.242, allocations: 0.9867 MB / 1.18 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004715/1.247, allocations: 2.379 MB / 1.182 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004271/1.251, allocations: 443.5 kB / 1.183 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=317): time 1.493e-05/1.251, allocations: 2.438 kB / 1.183 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=317): time 0.01454/1.266, allocations: 7.102 MB / 1.19 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/1.266, allocations: 89.91 kB / 1.19 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/1.277, allocations: 5.334 MB / 1.195 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001317/1.278, allocations: 85.7 kB / 1.195 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.003883/1.282, allocations: 3.172 MB / 1.198 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.002403/1.284, allocations: 1.11 MB / 1.199 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/1.285, allocations: 92 kB / 1.199 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003425/1.285, allocations: 491.6 kB / 1.2 GB, free: 11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003743/1.289, allocations: 2.144 MB / 1.202 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004737/1.293, allocations: 3.672 MB / 1.205 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008682/1.302, allocations: 6.3 MB / 1.211 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.823e-05/1.302, allocations: 12 kB / 1.211 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01229/1.315, allocations: 6.717 MB / 1.218 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-05/1.315, allocations: 60.05 kB / 1.218 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.553e-05/1.315, allocations: 48 kB / 1.218 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/1.316, allocations: 434.4 kB / 1.219 GB, free: 6.176 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003915/1.32, allocations: 1.014 MB / 1.22 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005926/1.326, allocations: 5.246 MB / 1.225 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007739/1.334, allocations: 476.4 kB / 1.225 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/1.335, allocations: 216 kB / 1.225 GB, free: 14.98 MB / 0.7761 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.007289/1.342, allocations: 2.47 MB / 1.228 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002403/1.345, allocations: 0.5172 MB / 1.228 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.355, allocations: 5.228 MB / 1.233 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-05/1.355, allocations: 32 kB / 1.233 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.355, allocations: 4 kB / 1.233 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007368/1.363, allocations: 4.517 MB / 1.238 GB, free: 2.043 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.02876/1.392, allocations: 11.95 MB / 1.249 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.392, allocations: 7.938 kB / 1.249 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002856/1.395, allocations: 0.6555 MB / 1.25 GB, free: 5.324 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008936/1.395, allocations: 369.3 kB / 1.25 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/1.396, allocations: 83.95 kB / 1.251 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005974/1.402, allocations: 5.173 MB / 1.256 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.402, allocations: 7.938 kB / 1.256 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/1.417, allocations: 7.585 MB / 1.263 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005416/1.422, allocations: 1.217 MB / 1.264 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002813/1.425, allocations: 67.98 kB / 1.264 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007813/1.433, allocations: 471.5 kB / 1.265 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/1.434, allocations: 206.2 kB / 1.265 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006671/1.435, allocations: 135.9 kB / 1.265 GB, free: 5.668 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.01056/1.445, allocations: 3.703 MB / 1.269 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.31e-07/1.445, allocations: 4 kB / 1.269 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01057/1.456, allocations: 1.979 MB / 1.271 GB, free: 15.99 MB / 0.823 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.002202/1.458, allocations: 459.1 kB / 1.271 GB, free: 15.57 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01076/1.469, allocations: 5.365 MB / 1.276 GB, free: 10.15 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/1.469, allocations: 3.781 kB / 1.276 GB, free: 10.15 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004495/1.474, allocations: 2.502 MB / 1.279 GB, free: 7.617 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02334/1.497, allocations: 3.182 MB / 1.282 GB, free: 4.477 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03414/1.531, allocations: 16.04 MB / 1.297 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/1.537, allocations: 4.599 MB / 1.302 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.008509/1.546, allocations: 2.003 MB / 1.304 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00199/1.548, allocations: 451.2 kB / 1.304 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/1.548, allocations: 0 / 1.304 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of Templates: time 0.2005/1.748, allocations: 112.1 MB / 1.414 GB, free: 14.06 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)