Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.429/2.429, allocations: 287.9 MB / 302.9 MB, free: 8.277 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.001405/0.001405, allocations: 165.2 kB / 371.4 MB, free: 10.68 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 2.033/2.033, allocations: 205.4 MB / 0.6301 GB, free: 10.32 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.001059/0.001059, allocations: 92.3 kB / 0.7434 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.00047, allocations: 11 kB / 0.8662 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1567, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.04727/0.2041, allocations: 41.2 MB / 1.019 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02189/0.226, allocations: 11.92 MB / 1.031 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.2282, allocations: 55.62 kB / 1.031 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.2309, allocations: 0.7423 MB / 1.031 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007218/0.2382, allocations: 1.951 MB / 1.033 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005691/0.2439, allocations: 1.417 MB / 1.035 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01588/0.2598, allocations: 10.45 MB / 1.045 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.271, allocations: 6.524 MB / 1.051 GB, free: 1.715 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008326/0.2794, allocations: 4.006 MB / 1.055 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006767/0.2862, allocations: 3.423 MB / 1.059 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.2878, allocations: 307.9 kB / 1.059 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004764/0.2925, allocations: 0.7923 MB / 1.06 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002657/0.2952, allocations: 1.308 MB / 1.061 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003184/0.2985, allocations: 1.471 MB / 1.062 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5704/0.8688, allocations: 9.371 MB / 1.071 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.022e-06/0.8689, allocations: 0 / 1.071 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.017e-06/0.8689, allocations: 0 / 1.071 GB, free: 23.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002913/0.8692, allocations: 0.9062 kB / 1.071 GB, free: 23.01 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.01678/0.886, allocations: 6.237 MB / 1.078 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.8861, allocations: 9.938 kB / 1.078 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004788/0.8909, allocations: 0.7823 MB / 1.078 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02568/0.9166, allocations: 5.555 MB / 1.084 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009399/0.9176, allocations: 413.7 kB / 1.084 GB, free: 19.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003358/0.921, allocations: 0.54 MB / 1.085 GB, free: 19.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03772/0.9587, allocations: 7.974 MB / 1.092 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003385/0.9591, allocations: 19.23 kB / 1.092 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002409/0.9616, allocations: 235.3 kB / 1.093 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003591/0.962, allocations: 167 kB / 1.093 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0321/0.9941, allocations: 6.486 MB / 1.099 GB, free: 18.56 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.05749/1.052, allocations: 31.38 MB / 1.13 GB, free: 18.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007595/1.059, allocations: 3.628 MB / 1.133 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/1.061, allocations: 0.8427 MB / 1.134 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.226e-05/1.061, allocations: 72.28 kB / 1.134 GB, free: 16.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=267): time 7.132e-06/1.061, allocations: 0 / 1.134 GB, free: 16.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=267): time 0.01498/1.076, allocations: 5.786 MB / 1.14 GB, free: 15.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/1.076, allocations: 77.05 kB / 1.14 GB, free: 15.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009822/1.086, allocations: 5.322 MB / 1.145 GB, free: 13.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006765/1.086, allocations: 80.72 kB / 1.145 GB, free: 13.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002579/1.089, allocations: 2.838 MB / 1.148 GB, free: 10.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001523/1.091, allocations: 0.933 MB / 1.149 GB, free: 9.871 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/1.091, allocations: 73.09 kB / 1.149 GB, free: 9.812 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003715/1.091, allocations: 465.1 kB / 1.149 GB, free: 9.398 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003952/1.095, allocations: 1.68 MB / 1.151 GB, free: 8.523 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006457/1.102, allocations: 2.927 MB / 1.154 GB, free: 6.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008674/1.11, allocations: 2.293 MB / 1.156 GB, free: 4.809 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.718e-05/1.111, allocations: 11.22 kB / 1.156 GB, free: 4.809 MB / 0.698 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.01565/1.126, allocations: 5.444 MB / 1.162 GB, free: 2.215 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/1.126, allocations: 28.64 kB / 1.162 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.533e-05/1.126, allocations: 39.5 kB / 1.162 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/1.128, allocations: 425.9 kB / 1.162 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004438/1.132, allocations: 0.8491 MB / 1.163 GB, free: 1.496 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008519/1.141, allocations: 5.342 MB / 1.168 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006602/1.147, allocations: 0.6781 MB / 1.169 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008757/1.148, allocations: 180 kB / 1.169 GB, free: 11.08 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.005567/1.154, allocations: 2.257 MB / 1.171 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/1.156, allocations: 496.3 kB / 1.172 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.166, allocations: 4.19 MB / 1.176 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-05/1.167, allocations: 35.55 kB / 1.176 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/1.167, allocations: 4 kB / 1.176 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008698/1.175, allocations: 3.664 MB / 1.179 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02811/1.203, allocations: 10.1 MB / 1.189 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/1.204, allocations: 4.562 kB / 1.189 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003353/1.207, allocations: 0.5012 MB / 1.19 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/1.208, allocations: 379 kB / 1.19 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005386/1.209, allocations: 71.95 kB / 1.19 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008096/1.217, allocations: 5.267 MB / 1.195 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.815e-06/1.217, allocations: 4 kB / 1.195 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/1.232, allocations: 6.894 MB / 1.202 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0048/1.237, allocations: 1.248 MB / 1.203 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001652/1.239, allocations: 59.98 kB / 1.203 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005375/1.244, allocations: 340.7 kB / 1.204 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006993/1.245, allocations: 179.7 kB / 1.204 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005131/1.245, allocations: 123.9 kB / 1.204 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.008931/1.254, allocations: 3.915 MB / 1.208 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.076e-06/1.254, allocations: 0 / 1.208 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.007944/1.262, allocations: 1.808 MB / 1.209 GB, free: 0.9219 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001692/1.264, allocations: 488.2 kB / 1.21 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.274, allocations: 4.281 MB / 1.214 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.274, allocations: 4 kB / 1.214 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004799/1.279, allocations: 2.05 MB / 1.216 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01892/1.298, allocations: 3.237 MB / 1.219 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03103/1.329, allocations: 14.56 MB / 1.233 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0081/1.337, allocations: 4.382 MB / 1.238 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.009181/1.346, allocations: 1.958 MB / 1.24 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/1.348, allocations: 418.8 kB / 1.24 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of SimCode: time 1.643e-06/1.348, allocations: 0 / 1.24 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of Templates: time 0.2473/1.596, allocations: 108.7 MB / 1.346 GB, free: 6.035 MB / 0.8855 GB