Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002564/0.00257, allocations: 358.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.41/1.41, allocations: 165.8 MB / 183.1 MB, free: 5.52 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.8/3.8, allocations: 410.7 MB / 0.6001 GB, free: 15.27 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001758/0.001757, allocations: 195 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004832, allocations: 16 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4153, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.724, allocations: 387.6 MB / 1.187 GB, free: 150.6 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/1.724, allocations: 98.16 kB / 1.187 GB, free: 150.6 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.714/6.438, allocations: 0.966 GB / 2.153 GB, free: 89.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.345e-06/6.438, allocations: 0 / 2.153 GB, free: 89.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0004769/6.439, allocations: 75.77 kB / 2.153 GB, free: 89.89 MB / 0.5886 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.01234/6.451, allocations: 3.15 MB / 2.156 GB, free: 88.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/6.451, allocations: 12.47 kB / 2.157 GB, free: 88.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002322/6.454, allocations: 359 kB / 2.157 GB, free: 88.33 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009599/6.463, allocations: 2.91 MB / 2.16 GB, free: 87.82 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/6.464, allocations: 179.9 kB / 2.16 GB, free: 87.82 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009459/6.465, allocations: 240.2 kB / 2.16 GB, free: 87.81 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009287/6.474, allocations: 3.042 MB / 2.163 GB, free: 86.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/6.474, allocations: 11.66 kB / 2.163 GB, free: 86.47 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005162/6.475, allocations: 97.27 kB / 2.163 GB, free: 86.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.817e-05/6.475, allocations: 67.39 kB / 2.163 GB, free: 86.4 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007347/6.482, allocations: 2.387 MB / 2.166 GB, free: 85.45 MB / 0.5886 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.02654/6.509, allocations: 12.88 MB / 2.178 GB, free: 74.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/6.512, allocations: 1.624 MB / 2.18 GB, free: 73.91 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/6.515, allocations: 1.157 MB / 2.181 GB, free: 73.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009616/6.516, allocations: 0.7149 MB / 2.182 GB, free: 72.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.604e-05/6.516, allocations: 47.25 kB / 2.182 GB, free: 72.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002617/6.519, allocations: 214.4 kB / 2.182 GB, free: 72.44 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=126): time 8.866e-06/6.519, allocations: 2.5 kB / 2.182 GB, free: 72.44 MB / 0.5886 GB Notification: Performance of matching and sorting (n=126): time 0.01741/6.536, allocations: 3.492 MB / 2.185 GB, free: 70.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/6.536, allocations: 141.3 kB / 2.185 GB, free: 70.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/6.541, allocations: 1.949 MB / 2.187 GB, free: 69.38 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0004705/6.541, allocations: 60.02 kB / 2.187 GB, free: 69.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001586/6.543, allocations: 1.25 MB / 2.189 GB, free: 68.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007463/6.544, allocations: 447.4 kB / 2.189 GB, free: 67.63 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/6.544, allocations: 32 kB / 2.189 GB, free: 67.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001443/6.544, allocations: 373.9 kB / 2.189 GB, free: 67.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001858/6.546, allocations: 0.7052 MB / 2.19 GB, free: 66.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/6.548, allocations: 1.239 MB / 2.191 GB, free: 65.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/6.55, allocations: 0.9346 MB / 2.192 GB, free: 64.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/6.55, allocations: 4 kB / 2.192 GB, free: 64.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006491/6.557, allocations: 2.358 MB / 2.194 GB, free: 61.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002899/6.557, allocations: 0.5001 MB / 2.195 GB, free: 61.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/6.557, allocations: 20 kB / 2.195 GB, free: 61.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003546/6.561, allocations: 0.5021 MB / 2.195 GB, free: 60.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/6.563, allocations: 327.4 kB / 2.196 GB, free: 60.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004397/6.568, allocations: 3.11 MB / 2.199 GB, free: 56.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/6.572, allocations: 223.5 kB / 2.199 GB, free: 56.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/6.572, allocations: 79.97 kB / 2.199 GB, free: 56.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/6.572, allocations: 4 kB / 2.199 GB, free: 56.69 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005617/6.578, allocations: 2.137 MB / 2.201 GB, free: 54.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.736e-05/6.578, allocations: 19.98 kB / 2.201 GB, free: 54.53 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009128/6.579, allocations: 227.9 kB / 2.201 GB, free: 54.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002655/6.582, allocations: 351.4 kB / 2.202 GB, free: 53.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/6.587, allocations: 4.171 MB / 2.206 GB, free: 49.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003583/6.591, allocations: 219.5 kB / 2.206 GB, free: 49.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/6.591, allocations: 79.97 kB / 2.206 GB, free: 49.24 MB / 0.5886 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,nor.y,$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.003586/6.595, allocations: 1.004 MB / 2.207 GB, free: 48.22 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/6.596, allocations: 209.5 kB / 2.207 GB, free: 48.02 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009097/6.605, allocations: 2 MB / 2.209 GB, free: 46.01 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.211e-05/6.605, allocations: 12 kB / 2.209 GB, free: 46 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/6.605, allocations: 4 kB / 2.209 GB, free: 45.99 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005134/6.61, allocations: 1.611 MB / 2.211 GB, free: 44.36 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/6.624, allocations: 4.575 MB / 2.215 GB, free: 39.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/6.624, allocations: 4 kB / 2.215 GB, free: 39.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/6.626, allocations: 207.7 kB / 2.216 GB, free: 39.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002762/6.629, allocations: 436.5 kB / 2.216 GB, free: 39.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/6.629, allocations: 39.97 kB / 2.216 GB, free: 39.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/6.632, allocations: 3.011 MB / 2.219 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/6.633, allocations: 4.031 kB / 2.219 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006479/6.639, allocations: 2.919 MB / 2.222 GB, free: 32.94 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/6.641, allocations: 0.4945 MB / 2.222 GB, free: 32.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005078/6.641, allocations: 32 kB / 2.222 GB, free: 32.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/6.644, allocations: 191.6 kB / 2.222 GB, free: 32.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/6.644, allocations: 99.44 kB / 2.223 GB, free: 32.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/6.645, allocations: 59.95 kB / 2.223 GB, free: 32.05 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002747/6.647, allocations: 1.334 MB / 2.224 GB, free: 30.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.02e-07/6.647, allocations: 0 / 2.224 GB, free: 30.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006211/6.654, allocations: 1.503 MB / 2.225 GB, free: 29.19 MB / 0.5886 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,nor.y,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.001532/6.655, allocations: 0.5605 MB / 2.226 GB, free: 28.69 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007983/6.663, allocations: 3.302 MB / 2.229 GB, free: 25.35 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/6.663, allocations: 0 / 2.229 GB, free: 25.35 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002248/6.665, allocations: 0.9901 MB / 2.23 GB, free: 24.35 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009519/6.675, allocations: 1.154 MB / 2.231 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/6.687, allocations: 6.25 MB / 2.237 GB, free: 17 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002125/6.69, allocations: 2.195 MB / 2.239 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.004735/6.694, allocations: 0.9277 MB / 2.24 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008765/6.695, allocations: 175.4 kB / 2.241 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of SimCode: time 9.81e-07/6.695, allocations: 3.938 kB / 2.241 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.5395/7.235, allocations: 46.89 MB / 2.286 GB, free: 93.05 MB / 0.5886 GB