Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.509/2.509, allocations: 287.9 MB / 302.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.00143, allocations: 183.8 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 0.6301 GB, free: 10.3 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 89.67 kB / 0.7434 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004713, allocations: 11.19 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.154, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05707/0.2112, allocations: 46.84 MB / 1.024 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02849/0.2397, allocations: 15.46 MB / 1.04 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.2424, allocations: 67.56 kB / 1.04 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003298/0.2457, allocations: 0.8161 MB / 1.04 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008161/0.2539, allocations: 2.13 MB / 1.043 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006288/0.2603, allocations: 1.569 MB / 1.044 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01818/0.2784, allocations: 11.34 MB / 1.055 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01329/0.2918, allocations: 7.162 MB / 1.062 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009617/0.3015, allocations: 4.477 MB / 1.067 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5442/0.8457, allocations: 3.84 MB / 1.07 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002448/0.8482, allocations: 347.8 kB / 1.071 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/0.8541, allocations: 0.8411 MB / 1.071 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00354/0.8576, allocations: 1.465 MB / 1.073 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004223/0.8619, allocations: 1.598 MB / 1.074 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01675/0.8787, allocations: 10.23 MB / 1.084 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.46e-06/0.8787, allocations: 0 / 1.084 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.517e-06/0.8787, allocations: 0 / 1.084 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004009/0.8791, allocations: 2.625 kB / 1.084 GB, free: 16.48 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.0203/0.8995, allocations: 6.907 MB / 1.091 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8995, allocations: 9 kB / 1.091 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005134/0.9047, allocations: 0.8525 MB / 1.092 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01612/0.9208, allocations: 5.908 MB / 1.098 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005925/0.9214, allocations: 460.5 kB / 1.098 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/0.9239, allocations: 0.5977 MB / 1.099 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02513/0.949, allocations: 8.935 MB / 1.107 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002208/0.9493, allocations: 23.48 kB / 1.108 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/0.9507, allocations: 256.7 kB / 1.108 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/0.9509, allocations: 188 kB / 1.108 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/0.9715, allocations: 7.405 MB / 1.115 GB, free: 10.52 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.06587/1.037, allocations: 36.2 MB / 1.151 GB, free: 4.191 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00926/1.047, allocations: 4.333 MB / 1.155 GB, free: 3.441 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001723/1.049, allocations: 0.9812 MB / 1.156 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006146/1.055, allocations: 2.39 MB / 1.158 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004163/1.059, allocations: 471 kB / 1.159 GB, free: 1.352 MB / 0.698 GB Notification: Performance of pre-optimization done (n=317): time 1.404e-05/1.059, allocations: 4 kB / 1.159 GB, free: 1.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=317): time 0.02/1.079, allocations: 7.141 MB / 1.165 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/1.079, allocations: 83.34 kB / 1.166 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/1.093, allocations: 5.762 MB / 1.171 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008638/1.094, allocations: 85.7 kB / 1.171 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004862/1.099, allocations: 3.158 MB / 1.174 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.002185/1.101, allocations: 1.127 MB / 1.175 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004691/1.101, allocations: 88 kB / 1.176 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004985/1.102, allocations: 491.6 kB / 1.176 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005485/1.107, allocations: 2.163 MB / 1.178 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007215/1.115, allocations: 3.676 MB / 1.182 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007055/1.122, allocations: 2.92 MB / 1.185 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-05/1.122, allocations: 16 kB / 1.185 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01842/1.14, allocations: 6.763 MB / 1.191 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.14, allocations: 53.7 kB / 1.191 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.544e-05/1.14, allocations: 54.25 kB / 1.191 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/1.142, allocations: 440.3 kB / 1.192 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005723/1.148, allocations: 1.06 MB / 1.193 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008574/1.156, allocations: 5.323 MB / 1.198 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007581/1.164, allocations: 482.8 kB / 1.198 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.165, allocations: 216 kB / 1.199 GB, free: 11.85 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.007018/1.172, allocations: 2.456 MB / 1.201 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001862/1.174, allocations: 0.5289 MB / 1.202 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.188, allocations: 5.279 MB / 1.207 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/1.188, allocations: 32 kB / 1.207 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/1.188, allocations: 4 kB / 1.207 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01173/1.2, allocations: 4.549 MB / 1.211 GB, free: 14.93 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.03386/1.234, allocations: 12.16 MB / 1.223 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/1.234, allocations: 0 / 1.223 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004129/1.238, allocations: 0.622 MB / 1.224 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/1.239, allocations: 375.3 kB / 1.224 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000629/1.24, allocations: 85.81 kB / 1.224 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008071/1.248, allocations: 5.242 MB / 1.229 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.906e-06/1.248, allocations: 4 kB / 1.229 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/1.267, allocations: 7.761 MB / 1.237 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005068/1.272, allocations: 1.299 MB / 1.238 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001872/1.274, allocations: 63.98 kB / 1.238 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006462/1.28, allocations: 448.4 kB / 1.239 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008755/1.281, allocations: 194.2 kB / 1.239 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005705/1.282, allocations: 139.9 kB / 1.239 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.009972/1.292, allocations: 4.04 MB / 1.243 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.542e-06/1.292, allocations: 0 / 1.243 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.009748/1.301, allocations: 2.003 MB / 1.245 GB, free: 12.13 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.0019/1.303, allocations: 499.2 kB / 1.245 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.316, allocations: 5.391 MB / 1.25 GB, free: 6.406 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.74e-06/1.316, allocations: 0 / 1.25 GB, free: 6.406 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.006062/1.322, allocations: 2.523 MB / 1.253 GB, free: 3.914 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01791/1.34, allocations: 3.171 MB / 1.256 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03529/1.376, allocations: 16.02 MB / 1.272 GB, free: 0.7773 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009525/1.385, allocations: 4.724 MB / 1.276 GB, free: 12.02 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01013/1.395, allocations: 2.05 MB / 1.278 GB, free: 9.977 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/1.398, allocations: 455.4 kB / 1.279 GB, free: 9.535 MB / 0.823 GB Notification: Performance of SimCode: time 1.648e-06/1.398, allocations: 0 / 1.279 GB, free: 9.535 MB / 0.823 GB Notification: Performance of Templates: time 0.2692/1.667, allocations: 113.6 MB / 1.39 GB, free: 8.945 MB / 0.9323 GB