Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.741/1.741, allocations: 287.4 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 177.7 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.4 MB / 0.6304 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007604/0.0007605, allocations: 82.38 kB / 0.7438 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 11.7 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1816, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.0262/0.2078, allocations: 34.91 MB / 1.013 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01663/0.2245, allocations: 11.76 MB / 1.025 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.2264, allocations: 47.69 kB / 1.025 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.2281, allocations: 421.2 kB / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003971/0.2321, allocations: 1.264 MB / 1.027 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.2349, allocations: 0.9527 MB / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009532/0.2445, allocations: 8.928 MB / 1.036 GB, free: 1.812 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004351/0.2489, allocations: 3.041 MB / 1.039 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00381/0.2527, allocations: 2.124 MB / 1.041 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003378/0.2561, allocations: 2.143 MB / 1.043 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006417/0.2568, allocations: 132 kB / 1.043 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.2593, allocations: 0.7955 MB / 1.044 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008666/0.2602, allocations: 0.5836 MB / 1.045 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.2612, allocations: 0.6408 MB / 1.045 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004068/0.2653, allocations: 3.998 MB / 1.049 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2653, allocations: 0 / 1.049 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2653, allocations: 0 / 1.049 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001521/0.2655, allocations: 0 / 1.049 GB, free: 4.258 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.005939/0.2714, allocations: 2.969 MB / 1.052 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2715, allocations: 8.031 kB / 1.052 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009632/0.2725, allocations: 356.7 kB / 1.053 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/0.2766, allocations: 2.588 MB / 1.055 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.2768, allocations: 176.6 kB / 1.055 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.2771, allocations: 239.9 kB / 1.055 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004661/0.2818, allocations: 3.214 MB / 1.059 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.938e-05/0.2818, allocations: 7.984 kB / 1.059 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.2821, allocations: 100 kB / 1.059 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.617e-05/0.2821, allocations: 63.94 kB / 1.059 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/0.2859, allocations: 2.578 MB / 1.061 GB, free: 7.699 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.3601/0.646, allocations: 13.74 MB / 1.075 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002856/0.6489, allocations: 1.62 MB / 1.076 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.6506, allocations: 1.177 MB / 1.077 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000723/0.6513, allocations: 0.7262 MB / 1.078 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.6514, allocations: 51.91 kB / 1.078 GB, free: 80.31 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001289/0.6527, allocations: 192 kB / 1.078 GB, free: 80.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=126): time 4.258e-06/0.6527, allocations: 0 / 1.078 GB, free: 80.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126): time 0.009261/0.662, allocations: 3.47 MB / 1.082 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.6621, allocations: 149.8 kB / 1.082 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003165/0.6652, allocations: 1.941 MB / 1.084 GB, free: 78.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.6654, allocations: 55.8 kB / 1.084 GB, free: 78.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009805/0.6664, allocations: 1.252 MB / 1.085 GB, free: 77.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.6668, allocations: 448.1 kB / 1.086 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.539e-05/0.6669, allocations: 34.75 kB / 1.086 GB, free: 77.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.667, allocations: 379 kB / 1.086 GB, free: 76.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.6682, allocations: 0.7235 MB / 1.087 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.6696, allocations: 1.241 MB / 1.088 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.672, allocations: 2.024 MB / 1.09 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.672, allocations: 4.031 kB / 1.09 GB, free: 74.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003847/0.6758, allocations: 2.408 MB / 1.092 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.6761, allocations: 0.5059 MB / 1.093 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.6761, allocations: 13.22 kB / 1.093 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.6782, allocations: 0.5105 MB / 1.093 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.6794, allocations: 347.4 kB / 1.094 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.6825, allocations: 3.141 MB / 1.097 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/0.6846, allocations: 225.8 kB / 1.097 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.6847, allocations: 81.28 kB / 1.097 GB, free: 70.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.6847, allocations: 4.469 kB / 1.097 GB, free: 70.21 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003066/0.6878, allocations: 2.186 MB / 1.099 GB, free: 69.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.6878, allocations: 22.06 kB / 1.099 GB, free: 69.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.6884, allocations: 240.7 kB / 1.099 GB, free: 69.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.6897, allocations: 367.6 kB / 1.1 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.693, allocations: 4.177 MB / 1.104 GB, free: 65.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.6948, allocations: 214.5 kB / 1.104 GB, free: 65.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.6949, allocations: 78.7 kB / 1.104 GB, free: 65.84 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.001566/0.6965, allocations: 1.011 MB / 1.105 GB, free: 65.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/0.6968, allocations: 204 kB / 1.105 GB, free: 65.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.6999, allocations: 2.058 MB / 1.107 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002164/0.7021, allocations: 1.663 MB / 1.109 GB, free: 63.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.7021, allocations: 3.844 kB / 1.109 GB, free: 63.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008626/0.703, allocations: 0.5182 MB / 1.109 GB, free: 63.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.7033, allocations: 28.59 kB / 1.109 GB, free: 63.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.7045, allocations: 192.2 kB / 1.11 GB, free: 63.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.7047, allocations: 97.78 kB / 1.11 GB, free: 63.35 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003633/0.7084, allocations: 2.147 MB / 1.112 GB, free: 62.46 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003402/0.7118, allocations: 2.887 MB / 1.115 GB, free: 60.82 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009354/0.7127, allocations: 0.7874 MB / 1.115 GB, free: 60.39 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001802/0.7145, allocations: 1.328 MB / 1.117 GB, free: 59.65 MB / 0.6823 GB Notification: Performance of Backend: time 4.11e-07/0.7146, allocations: 1.531 kB / 1.117 GB, free: 59.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005482/0.72, allocations: 3.111 MB / 1.12 GB, free: 57.96 MB / 0.6823 GB Notification: Performance of SimCode: time 0.009306/0.7294, allocations: 7.174 MB / 1.127 GB, free: 53.38 MB / 0.6823 GB Notification: Performance of Templates: time 0.06234/0.7917, allocations: 48.06 MB / 1.174 GB, free: 7.391 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)