Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 177.6 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.378/2.378, allocations: 205.4 MB / 0.5772 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.0008871, allocations: 95.73 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004878, allocations: 13.59 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.252/1.468, allocations: 419.6 MB / 1.309 GB, free: 15.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.469, allocations: 98.2 kB / 1.309 GB, free: 15.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.958/6.426, allocations: 0.9421 GB / 2.251 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.305e-06/6.426, allocations: 0 / 2.251 GB, free: 168.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005669/6.427, allocations: 80.89 kB / 2.252 GB, free: 168.4 MB / 0.8855 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.01246/6.439, allocations: 3.155 MB / 2.255 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/6.439, allocations: 6.156 kB / 2.255 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/6.442, allocations: 356 kB / 2.255 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009669/6.451, allocations: 2.904 MB / 2.258 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/6.452, allocations: 177.5 kB / 2.258 GB, free: 164.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009807/6.453, allocations: 235.3 kB / 2.258 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009339/6.462, allocations: 3.014 MB / 2.261 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/6.462, allocations: 10.66 kB / 2.261 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004492/6.463, allocations: 100.3 kB / 2.261 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.099e-05/6.463, allocations: 72.73 kB / 2.261 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00791/6.471, allocations: 2.38 MB / 2.264 GB, free: 161 MB / 0.8855 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.02691/6.497, allocations: 12.86 MB / 2.276 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/6.501, allocations: 1.618 MB / 2.278 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002689/6.504, allocations: 1.152 MB / 2.279 GB, free: 148.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/6.505, allocations: 0.7152 MB / 2.28 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/6.505, allocations: 47.56 kB / 2.28 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002678/6.508, allocations: 216.6 kB / 2.28 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 7.554e-06/6.508, allocations: 0 / 2.28 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.01566/6.524, allocations: 3.376 MB / 2.283 GB, free: 144 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/6.524, allocations: 141.5 kB / 2.283 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/6.528, allocations: 1.948 MB / 2.285 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004413/6.529, allocations: 57.7 kB / 2.285 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/6.53, allocations: 1.256 MB / 2.286 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007737/6.531, allocations: 447 kB / 2.287 GB, free: 140.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/6.531, allocations: 35.94 kB / 2.287 GB, free: 140 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001526/6.531, allocations: 380.6 kB / 2.287 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/6.533, allocations: 0.7027 MB / 2.288 GB, free: 139 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/6.535, allocations: 1.239 MB / 2.289 GB, free: 137.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002393/6.538, allocations: 0.9322 MB / 2.29 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/6.538, allocations: 4 kB / 2.29 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00666/6.545, allocations: 2.353 MB / 2.292 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/6.545, allocations: 0.5049 MB / 2.293 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/6.545, allocations: 12 kB / 2.293 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003066/6.548, allocations: 491.8 kB / 2.293 GB, free: 133.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/6.551, allocations: 335.4 kB / 2.294 GB, free: 132.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/6.555, allocations: 3.097 MB / 2.297 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/6.559, allocations: 228.1 kB / 2.297 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005148/6.56, allocations: 79.97 kB / 2.297 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/6.56, allocations: 4 kB / 2.297 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005713/6.566, allocations: 2.134 MB / 2.299 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.952e-05/6.566, allocations: 18.97 kB / 2.299 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009621/6.567, allocations: 232.5 kB / 2.299 GB, free: 126.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/6.57, allocations: 354.6 kB / 2.3 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/6.575, allocations: 4.154 MB / 2.304 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/6.579, allocations: 222.6 kB / 2.304 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005234/6.58, allocations: 79.97 kB / 2.304 GB, free: 121.8 MB / 0.8855 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.002756/6.582, allocations: 1.009 MB / 2.305 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008039/6.583, allocations: 205.5 kB / 2.305 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005617/6.589, allocations: 2.003 MB / 2.307 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-05/6.589, allocations: 12 kB / 2.307 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/6.589, allocations: 3.938 kB / 2.307 GB, free: 118.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004118/6.593, allocations: 1.613 MB / 2.309 GB, free: 116.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/6.606, allocations: 4.547 MB / 2.313 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/6.606, allocations: 4 kB / 2.313 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/6.608, allocations: 211.8 kB / 2.313 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00239/6.61, allocations: 399.5 kB / 2.314 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/6.611, allocations: 49.62 kB / 2.314 GB, free: 111.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/6.615, allocations: 2.999 MB / 2.317 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/6.615, allocations: 4.031 kB / 2.317 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006879/6.621, allocations: 2.918 MB / 2.32 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/6.623, allocations: 0.4906 MB / 2.32 GB, free: 105 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006729/6.624, allocations: 31.98 kB / 2.32 GB, free: 105 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/6.627, allocations: 187.6 kB / 2.32 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004164/6.628, allocations: 101.1 kB / 2.32 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/6.628, allocations: 51.16 kB / 2.32 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003217/6.631, allocations: 1.337 MB / 2.322 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.22e-07/6.631, allocations: 0 / 2.322 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007193/6.638, allocations: 1.5 MB / 2.323 GB, free: 101.8 MB / 0.8855 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.001678/6.64, allocations: 0.5553 MB / 2.324 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008305/6.649, allocations: 3.297 MB / 2.327 GB, free: 97.99 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/6.649, allocations: 4 kB / 2.327 GB, free: 97.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/6.651, allocations: 0.9853 MB / 2.328 GB, free: 96.99 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01118/6.662, allocations: 1.145 MB / 2.329 GB, free: 95.88 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/6.677, allocations: 6.252 MB / 2.335 GB, free: 89.63 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/6.679, allocations: 2.148 MB / 2.337 GB, free: 87.45 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004921/6.684, allocations: 0.9195 MB / 2.338 GB, free: 86.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009988/6.685, allocations: 171.4 kB / 2.338 GB, free: 86.38 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/6.685, allocations: 0 / 2.338 GB, free: 86.38 MB / 0.8855 GB Notification: Performance of Templates: time 0.1098/6.795, allocations: 46.46 MB / 2.384 GB, free: 40.77 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)