Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.606/2.606, allocations: 287.9 MB / 302.9 MB, free: 8.184 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.001387/0.001386, allocations: 175.8 kB / 371.4 MB, free: 10.65 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.94/1.94, 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.001065/0.001065, allocations: 89.8 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.00047, allocations: 12.7 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1571, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.0357/0.1928, allocations: 31.86 MB / 1.01 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02189/0.2147, allocations: 11.07 MB / 1.021 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.2167, allocations: 43.69 kB / 1.021 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.2194, allocations: 0.6608 MB / 1.021 GB, free: 452 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006035/0.2254, allocations: 1.546 MB / 1.023 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00961/0.2351, allocations: 2.564 MB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00783/0.2429, allocations: 4.446 MB / 1.03 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005273/0.2482, allocations: 2.747 MB / 1.032 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004566/0.2528, allocations: 1.83 MB / 1.034 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00341/0.2563, allocations: 1.56 MB / 1.036 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000653/0.257, allocations: 132 kB / 1.036 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.26, allocations: 0.6711 MB / 1.036 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.2611, allocations: 0.5643 MB / 1.037 GB, free: 352 kB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.2624, allocations: 0.6409 MB / 1.038 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006252/0.2687, allocations: 3.935 MB / 1.042 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.715e-06/0.2688, allocations: 0 / 1.042 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.462e-06/0.2688, allocations: 0 / 1.042 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.844e-05/0.2689, allocations: 4 kB / 1.042 GB, free: 11.75 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.007333/0.2762, allocations: 2.977 MB / 1.044 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.2763, allocations: 12.03 kB / 1.044 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.2778, allocations: 352 kB / 1.045 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006055/0.2839, allocations: 2.353 MB / 1.047 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.2842, allocations: 180.6 kB / 1.047 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006329/0.2848, allocations: 240 kB / 1.047 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008624/0.2935, allocations: 3.192 MB / 1.051 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.611e-05/0.2936, allocations: 11.92 kB / 1.051 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003524/0.294, allocations: 104 kB / 1.051 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-05/0.2941, allocations: 64 kB / 1.051 GB, free: 2.02 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007108/0.3012, allocations: 2.566 MB / 1.053 GB, free: 15.44 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.02546/0.3267, allocations: 13.84 MB / 1.067 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5165/0.8432, allocations: 1.613 MB / 1.068 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009311/0.8442, allocations: 0.7153 MB / 1.069 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.8443, allocations: 57.55 kB / 1.069 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001735/0.846, allocations: 197.5 kB / 1.069 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 5.986e-06/0.846, allocations: 0 / 1.069 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.01305/0.8591, allocations: 3.48 MB / 1.073 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.8592, allocations: 143.2 kB / 1.073 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004303/0.8635, allocations: 2.085 MB / 1.075 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002972/0.8639, allocations: 62.09 kB / 1.075 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.8652, allocations: 1.252 MB / 1.076 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/0.8658, allocations: 443.5 kB / 1.077 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.866, allocations: 35.34 kB / 1.077 GB, free: 82.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8661, allocations: 375.4 kB / 1.077 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.8679, allocations: 0.7355 MB / 1.078 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.8702, allocations: 1.232 MB / 1.079 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.8724, allocations: 0.9619 MB / 1.08 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/0.8725, allocations: 4.688 kB / 1.08 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006105/0.8786, allocations: 2.428 MB / 1.082 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.8798, allocations: 5.697 MB / 1.088 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.229e-05/0.8799, allocations: 14.31 kB / 1.088 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002841/0.8827, allocations: 0.5187 MB / 1.088 GB, free: 73.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.8846, allocations: 346.9 kB / 1.089 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.8887, allocations: 3.163 MB / 1.092 GB, free: 71.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.8916, allocations: 233.4 kB / 1.092 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/0.892, allocations: 86.23 kB / 1.092 GB, free: 71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.892, allocations: 3.438 kB / 1.092 GB, free: 71 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005224/0.8972, allocations: 2.198 MB / 1.094 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-05/0.8973, allocations: 15.59 kB / 1.094 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008734/0.8982, allocations: 243 kB / 1.094 GB, free: 70.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/0.9002, allocations: 367.1 kB / 1.095 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005293/0.9056, allocations: 4.221 MB / 1.099 GB, free: 66.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/0.9083, allocations: 216.4 kB / 1.099 GB, free: 66.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.9086, allocations: 80.17 kB / 1.099 GB, free: 66.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,yTop.u,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002084/0.9107, allocations: 1.009 MB / 1.1 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/0.9114, allocations: 206.4 kB / 1.1 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004817/0.9162, allocations: 2.072 MB / 1.102 GB, free: 65.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/0.9163, allocations: 15.08 kB / 1.102 GB, free: 65.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.223e-06/0.9163, allocations: 2.656 kB / 1.102 GB, free: 65.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0036/0.9199, allocations: 1.678 MB / 1.104 GB, free: 64.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/0.9309, allocations: 4.703 MB / 1.109 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.9309, allocations: 1.5 kB / 1.109 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.9323, allocations: 200.4 kB / 1.109 GB, free: 62.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.9347, allocations: 451.9 kB / 1.109 GB, free: 62.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002196/0.9349, allocations: 40.16 kB / 1.109 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/0.9385, allocations: 3.087 MB / 1.112 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9385, allocations: 1.031 kB / 1.112 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006165/0.9447, allocations: 3.057 MB / 1.115 GB, free: 58.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/0.9462, allocations: 0.5383 MB / 1.116 GB, free: 58.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/0.9466, allocations: 37.66 kB / 1.116 GB, free: 58.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/0.9487, allocations: 200.5 kB / 1.116 GB, free: 58.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.949, allocations: 103.1 kB / 1.116 GB, free: 58.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/0.9492, allocations: 55.41 kB / 1.116 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002772/0.952, allocations: 1.449 MB / 1.118 GB, free: 57.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.76e-07/0.952, allocations: 0 / 1.118 GB, free: 57.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006292/0.9583, allocations: 1.492 MB / 1.119 GB, free: 57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,yTop.u,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001149/0.9595, allocations: 386.4 kB / 1.119 GB, free: 56.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007393/0.9669, allocations: 3.369 MB / 1.123 GB, free: 54.99 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.802e-06/0.967, allocations: 5.188 kB / 1.123 GB, free: 54.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.9691, allocations: 1.031 MB / 1.124 GB, free: 54.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00682/0.976, allocations: 1.14 MB / 1.125 GB, free: 53.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.987, allocations: 6.282 MB / 1.131 GB, free: 49.92 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0021/0.9892, allocations: 2.202 MB / 1.133 GB, free: 47.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004115/0.9933, allocations: 0.962 MB / 1.134 GB, free: 46.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007985/0.9942, allocations: 175.4 kB / 1.134 GB, free: 46.58 MB / 0.6823 GB Notification: Performance of SimCode: time 2.564e-06/0.9942, allocations: 0 / 1.134 GB, free: 46.58 MB / 0.6823 GB Notification: Performance of Templates: time 0.08998/1.084, allocations: 45.48 MB / 1.179 GB, free: 1.496 MB / 0.6823 GB