Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.426/2.426, allocations: 287.9 MB / 302.9 MB, free: 8.359 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.001475/0.001475, allocations: 177.1 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 2.29/2.29, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001048/0.001048, allocations: 91.42 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 12.34 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1755, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.719/0.8946, allocations: 126.9 MB / 1.103 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.05941/0.954, allocations: 38.09 MB / 1.14 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007504/0.9616, allocations: 163.7 kB / 1.14 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.008347/0.97, allocations: 2.19 MB / 1.142 GB, free: 15.63 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02288/0.9929, allocations: 5.621 MB / 1.148 GB, free: 11.9 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01711/1.01, allocations: 4.138 MB / 1.152 GB, free: 9.293 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.04046/1.051, allocations: 23.5 MB / 1.175 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0285/1.079, allocations: 15.35 MB / 1.19 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02374/1.103, allocations: 9.888 MB / 1.199 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01768/1.121, allocations: 8.222 MB / 1.207 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.004278/1.125, allocations: 0.7383 MB / 1.208 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01355/1.138, allocations: 2.396 MB / 1.21 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.006402/1.145, allocations: 3.039 MB / 1.213 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.008327/1.153, allocations: 3.642 MB / 1.217 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.03846/1.192, allocations: 25.08 MB / 1.241 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.721e-06/1.192, allocations: 3.938 kB / 1.241 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.873e-06/1.192, allocations: 0 / 1.241 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0006981/1.193, allocations: 0 / 1.241 GB, free: 12.21 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.04526/1.238, allocations: 15.81 MB / 1.257 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.238, allocations: 8.031 kB / 1.257 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009275/1.247, allocations: 1.92 MB / 1.259 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03777/1.285, allocations: 13.78 MB / 1.272 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001357/1.286, allocations: 0.9816 MB / 1.273 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004216/1.291, allocations: 1.297 MB / 1.274 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05462/1.345, allocations: 19 MB / 1.293 GB, free: 6.535 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005473/1.346, allocations: 51.44 kB / 1.293 GB, free: 6.484 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003382/1.349, allocations: 0.5273 MB / 1.294 GB, free: 5.957 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004543/1.35, allocations: 351.9 kB / 1.294 GB, free: 5.613 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0487/1.398, allocations: 16.55 MB / 1.31 GB, free: 5.047 MB / 0.8386 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.1706/1.569, allocations: 85.8 MB / 1.394 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02826/1.597, allocations: 12.33 MB / 1.406 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07684/1.674, allocations: 28.72 MB / 1.434 GB, free: 84 kB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.073/2.747, allocations: 117.8 kB / 1.434 GB, free: 329 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007316/2.754, allocations: 0.7773 MB / 1.435 GB, free: 329 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=660): time 4.502e-05/2.754, allocations: 0.9062 kB / 1.435 GB, free: 329 MB / 0.9637 GB Notification: Performance of matching and sorting (n=660): time 0.05576/2.81, allocations: 17.89 MB / 1.452 GB, free: 323.3 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/2.81, allocations: 119.1 kB / 1.452 GB, free: 323.3 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03252/2.843, allocations: 13.44 MB / 1.465 GB, free: 318.8 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.001783/2.845, allocations: 182.6 kB / 1.466 GB, free: 318.6 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.008148/2.853, allocations: 7.207 MB / 1.473 GB, free: 313.5 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.003525/2.856, allocations: 2.319 MB / 1.475 GB, free: 311.7 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001745/2.858, allocations: 235 kB / 1.475 GB, free: 311.6 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001163/2.859, allocations: 0.7818 MB / 1.476 GB, free: 311 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01417/2.874, allocations: 5.83 MB / 1.482 GB, free: 308.9 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01696/2.891, allocations: 9.743 MB / 1.491 GB, free: 301.9 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/2.908, allocations: 7.759 MB / 1.499 GB, free: 298.6 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/2.908, allocations: 34.62 kB / 1.499 GB, free: 298.6 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1497) (initialization): time 0.04716/2.955, allocations: 18.88 MB / 1.517 GB, free: 288.7 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0125/2.967, allocations: 70.04 MB / 1.586 GB, free: 214.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003141/2.968, allocations: 124 kB / 1.586 GB, free: 214.1 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1127/3.081, allocations: 11.94 MB / 1.597 GB, free: 202.1 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/3.092, allocations: 2.485 MB / 1.6 GB, free: 199.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/3.113, allocations: 20.4 MB / 1.62 GB, free: 178.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01552/3.129, allocations: 1.138 MB / 1.621 GB, free: 177.3 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002444/3.131, allocations: 0.5546 MB / 1.621 GB, free: 176.8 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/3.131, allocations: 4 kB / 1.621 GB, free: 176.8 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04116/3.173, allocations: 17.86 MB / 1.639 GB, free: 158.9 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003971/3.173, allocations: 124 kB / 1.639 GB, free: 158.7 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1143/3.287, allocations: 11.94 MB / 1.651 GB, free: 146.8 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/3.299, allocations: 2.443 MB / 1.653 GB, free: 144.3 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/3.319, allocations: 18.61 MB / 1.671 GB, free: 125 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01503/3.335, allocations: 1.076 MB / 1.672 GB, free: 123.9 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002631/3.337, allocations: 0.5468 MB / 1.673 GB, free: 123.4 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1263): * Single equations (assignments): 1245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.01318/3.35, allocations: 5.79 MB / 1.678 GB, free: 117.6 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003975/3.354, allocations: 1.161 MB / 1.68 GB, free: 116.4 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03006/3.385, allocations: 11.67 MB / 1.691 GB, free: 104.7 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.078e-05/3.385, allocations: 64 kB / 1.691 GB, free: 104.6 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/3.385, allocations: 4 kB / 1.691 GB, free: 104.6 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02246/3.407, allocations: 9.653 MB / 1.7 GB, free: 94.78 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06344/3.471, allocations: 26.09 MB / 1.726 GB, free: 68.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.634e-05/3.471, allocations: 16.25 kB / 1.726 GB, free: 68.48 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007263/3.478, allocations: 1.136 MB / 1.727 GB, free: 67.35 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05768/3.536, allocations: 6.461 MB / 1.733 GB, free: 60.84 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001312/3.537, allocations: 191.9 kB / 1.734 GB, free: 60.65 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/3.555, allocations: 17.97 MB / 1.751 GB, free: 41.92 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/3.555, allocations: 19.92 kB / 1.751 GB, free: 41.9 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0384/3.593, allocations: 21.32 MB / 1.772 GB, free: 19.85 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008799/3.602, allocations: 2.887 MB / 1.775 GB, free: 16.93 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003732/3.606, allocations: 164 kB / 1.775 GB, free: 16.77 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01129/3.617, allocations: 0.7698 MB / 1.776 GB, free: 16 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001584/3.619, allocations: 444.4 kB / 1.776 GB, free: 15.57 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001475/3.62, allocations: 291.8 kB / 1.776 GB, free: 15.28 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.02025/3.64, allocations: 9.254 MB / 1.785 GB, free: 6.074 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.477e-06/3.64, allocations: 0 / 1.785 GB, free: 6.074 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.03222/3.673, allocations: 7.786 MB / 1.793 GB, free: 14.32 MB / 0.9793 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * 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 (567): * Single equations (assignments): 543 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003726/3.676, allocations: 1.106 MB / 1.794 GB, free: 13.38 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 1.156/4.832, allocations: 22.5 MB / 1.816 GB, free: 325.2 MB / 0.9794 GB Notification: Performance of simCode: created event and clocks part: time 2.68e-05/4.832, allocations: 8.938 kB / 1.816 GB, free: 325.2 MB / 0.9794 GB Notification: Performance of simCode: created simulation system equations: time 0.01471/4.847, allocations: 5.476 MB / 1.821 GB, free: 323.7 MB / 0.9794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03431/4.881, allocations: 6.096 MB / 1.827 GB, free: 322.6 MB / 0.9794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07743/4.959, allocations: 37.01 MB / 1.864 GB, free: 304.2 MB / 0.9794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02048/4.979, allocations: 10.15 MB / 1.873 GB, free: 301.1 MB / 0.9794 GB Notification: Performance of simCode: alias equations: time 0.0301/5.009, allocations: 6.222 MB / 1.879 GB, free: 298.6 MB / 0.9794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005098/5.015, allocations: 0.8634 MB / 1.88 GB, free: 298.5 MB / 0.9794 GB Notification: Performance of SimCode: time 2.218e-06/5.015, allocations: 0 / 1.88 GB, free: 298.5 MB / 0.9794 GB Notification: Performance of Templates: time 0.5277/5.542, allocations: 262.6 MB / 2.137 GB, free: 42.29 MB / 0.9794 GB