Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007872/0.0007873, allocations: 91.38 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006824/0.0006826, allocations: 20.44 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.289, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03434/0.3234, allocations: 34.9 MB / 0.8214 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.3415, allocations: 11.78 MB / 0.8329 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.3438, allocations: 43.69 kB / 0.8329 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.3454, allocations: 421.2 kB / 0.8333 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.3501, allocations: 1.263 MB / 0.8345 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003098/0.3532, allocations: 0.9421 MB / 0.8355 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009421/0.3626, allocations: 8.882 MB / 0.8441 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004191/0.3669, allocations: 2.747 MB / 0.8468 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00493/0.3718, allocations: 2.128 MB / 0.8489 GB, free: 12.63 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004446/0.3763, allocations: 2.135 MB / 0.851 GB, free: 10.49 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004941/0.3768, allocations: 132 kB / 0.8511 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002885/0.3797, allocations: 0.7915 MB / 0.8519 GB, free: 9.566 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007022/0.3804, allocations: 0.5875 MB / 0.8525 GB, free: 8.977 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.3817, allocations: 0.6408 MB / 0.8531 GB, free: 8.328 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004303/0.386, allocations: 3.986 MB / 0.857 GB, free: 4.332 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.386, allocations: 4 kB / 0.857 GB, free: 4.328 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.744e-06/0.386, allocations: 0 / 0.857 GB, free: 4.328 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001112/0.3861, allocations: 0 / 0.857 GB, free: 4.328 MB / 0.67 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.005665/0.3918, allocations: 3 MB / 0.8599 GB, free: 1.262 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3919, allocations: 8.031 kB / 0.8599 GB, free: 1.254 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.3929, allocations: 360 kB / 0.8603 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.3972, allocations: 2.513 MB / 0.8627 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.3973, allocations: 180.6 kB / 0.8629 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/0.3977, allocations: 239.8 kB / 0.8631 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005576/0.4032, allocations: 3.215 MB / 0.8663 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.4033, allocations: 7.938 kB / 0.8663 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.4036, allocations: 99.95 kB / 0.8664 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.119e-05/0.4036, allocations: 63.98 kB / 0.8664 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.4077, allocations: 2.566 MB / 0.8689 GB, free: 7.816 MB / 0.6856 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.01756/0.4253, allocations: 13.76 MB / 0.8824 GB, free: 8.988 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.4278, allocations: 1.626 MB / 0.8839 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.4294, allocations: 1.178 MB / 0.8851 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000838/0.4302, allocations: 0.7321 MB / 0.8858 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.4303, allocations: 47.56 kB / 0.8859 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001447/0.4317, allocations: 191.5 kB / 0.886 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=126): time 5.31e-06/0.4318, allocations: 0 / 0.886 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of matching and sorting (n=126): time 0.008295/0.4401, allocations: 3.441 MB / 0.8894 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.4402, allocations: 145.5 kB / 0.8895 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.443, allocations: 1.939 MB / 0.8914 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002111/0.4433, allocations: 53.7 kB / 0.8915 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.4446, allocations: 1.257 MB / 0.8927 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004627/0.445, allocations: 449.8 kB / 0.8931 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.171e-05/0.4451, allocations: 32 kB / 0.8932 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4453, allocations: 373.9 kB / 0.8935 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.4465, allocations: 0.7299 MB / 0.8942 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.4479, allocations: 1.229 MB / 0.8954 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.4492, allocations: 0.9548 MB / 0.8964 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.4492, allocations: 4 kB / 0.8964 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003957/0.4532, allocations: 2.41 MB / 0.8987 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000405/0.4536, allocations: 0.4953 MB / 0.8992 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.4536, allocations: 15.98 kB / 0.8992 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.4557, allocations: 0.5121 MB / 0.8997 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.4569, allocations: 351.4 kB / 0.9001 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.4603, allocations: 3.133 MB / 0.9031 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.4624, allocations: 235.5 kB / 0.9033 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/0.4625, allocations: 87.91 kB / 0.9034 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.4626, allocations: 4 kB / 0.9034 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003382/0.4659, allocations: 2.179 MB / 0.9056 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.466, allocations: 12 kB / 0.9056 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/0.4665, allocations: 242.4 kB / 0.9058 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.4678, allocations: 371.3 kB / 0.9062 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004064/0.4719, allocations: 4.18 MB / 0.9102 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.4739, allocations: 227.5 kB / 0.9105 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.474, allocations: 79.98 kB / 0.9105 GB, free: 10.93 MB / 0.7325 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.001847/0.4759, allocations: 0.9961 MB / 0.9115 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/0.4764, allocations: 205.5 kB / 0.9117 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003465/0.4799, allocations: 2.06 MB / 0.9137 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.4799, allocations: 16 kB / 0.9137 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4799, allocations: 8.047 kB / 0.9137 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002378/0.4823, allocations: 1.656 MB / 0.9154 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007982/0.4903, allocations: 4.681 MB / 0.9199 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.4903, allocations: 4 kB / 0.9199 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/0.4912, allocations: 195.7 kB / 0.9201 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/0.4927, allocations: 453.5 kB / 0.9206 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.001e-05/0.4928, allocations: 39.94 kB / 0.9206 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5149/1.008, allocations: 3.042 MB / 0.9236 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.008, allocations: 0.875 kB / 0.9236 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/1.013, allocations: 2.99 MB / 0.9265 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/1.014, allocations: 0.5133 MB / 0.927 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002782/1.015, allocations: 28.5 kB / 0.927 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/1.016, allocations: 199.5 kB / 0.9272 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/1.016, allocations: 102.3 kB / 0.9273 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.017, allocations: 55.55 kB / 0.9274 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001979/1.019, allocations: 1.333 MB / 0.9287 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/1.019, allocations: 0 / 0.9287 GB, free: 125.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003704/1.022, allocations: 1.475 MB / 0.9301 GB, free: 125.1 MB / 0.7325 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.00083/1.023, allocations: 375.6 kB / 0.9305 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005076/1.028, allocations: 3.357 MB / 0.9337 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.028, allocations: 6.562 kB / 0.9337 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/1.03, allocations: 1.014 MB / 0.9347 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005585/1.035, allocations: 1.173 MB / 0.9359 GB, free: 123 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/1.046, allocations: 6.271 MB / 0.942 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/1.048, allocations: 2.152 MB / 0.9441 GB, free: 118.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003686/1.052, allocations: 0.9344 MB / 0.945 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005414/1.053, allocations: 175.5 kB / 0.9452 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.322e-06/1.053, allocations: 4 kB / 0.9452 GB, free: 118.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.06702/1.12, allocations: 44.87 MB / 0.989 GB, free: 86.75 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) Environment - environmentSimulation: