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.052/2.052, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001301/0.001301, allocations: 178 kB / 326.3 MB, free: 2.852 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.269/2.269, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.001295/0.001295, allocations: 97.98 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006267, allocations: 14.72 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1925, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.04127/0.2338, allocations: 34.91 MB / 0.9336 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.2547, allocations: 11.75 MB / 0.9451 GB, free: 18.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.2567, allocations: 47.62 kB / 0.9451 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.2586, allocations: 417.2 kB / 0.9455 GB, free: 18.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.2635, allocations: 1.257 MB / 0.9467 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004394/0.2679, allocations: 0.9365 MB / 0.9476 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.2788, allocations: 8.909 MB / 0.9563 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00523/0.2841, allocations: 2.935 MB / 0.9592 GB, free: 4.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/0.2889, allocations: 2.113 MB / 0.9613 GB, free: 2.059 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.2934, allocations: 2.143 MB / 0.9634 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006701/0.2941, allocations: 132 kB / 0.9635 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.2975, allocations: 0.7876 MB / 0.9643 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009513/0.2985, allocations: 0.5797 MB / 0.9648 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.2999, allocations: 0.6369 MB / 0.9655 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.006753/0.3066, allocations: 3.963 MB / 0.9693 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3067, allocations: 0 / 0.9693 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3067, allocations: 0 / 0.9693 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001159/0.3068, allocations: 0 / 0.9693 GB, free: 9.789 MB / 0.6198 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.009142/0.316, allocations: 2.996 MB / 0.9722 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3161, allocations: 8.031 kB / 0.9723 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.3177, allocations: 352.7 kB / 0.9726 GB, free: 6.367 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007217/0.3249, allocations: 2.501 MB / 0.975 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.3252, allocations: 176.6 kB / 0.9752 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005753/0.3258, allocations: 236 kB / 0.9754 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008498/0.3343, allocations: 3.187 MB / 0.9785 GB, free: 84 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.3344, allocations: 11.92 kB / 0.9786 GB, free: 72 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.3348, allocations: 92.08 kB / 0.9786 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.335, allocations: 68 kB / 0.9787 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007271/0.3422, allocations: 2.57 MB / 0.9812 GB, free: 13.32 MB / 0.6355 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.0263/0.3686, allocations: 13.74 MB / 0.9946 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/0.3731, allocations: 1.607 MB / 0.9962 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002848/0.376, allocations: 1.174 MB / 0.9973 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.3774, allocations: 0.7244 MB / 0.9981 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.572e-05/0.3775, allocations: 51.56 kB / 0.9981 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001962/0.3795, allocations: 183.7 kB / 0.9983 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 5.04e-06/0.3795, allocations: 0 / 0.9983 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126): time 0.01469/0.3942, allocations: 3.37 MB / 1.002 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/0.3943, allocations: 145.5 kB / 1.002 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004207/0.3985, allocations: 1.942 MB / 1.004 GB, free: 5.039 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003537/0.3989, allocations: 53.7 kB / 1.004 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.4006, allocations: 1.261 MB / 1.005 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007872/0.4014, allocations: 437.7 kB / 1.005 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.4016, allocations: 36 kB / 1.005 GB, free: 3.234 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.4018, allocations: 377.8 kB / 1.006 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.404, allocations: 0.726 MB / 1.006 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002705/0.4067, allocations: 1.236 MB / 1.008 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.4094, allocations: 0.9432 MB / 1.009 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/0.4094, allocations: 4 kB / 1.009 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007291/0.4167, allocations: 2.413 MB / 1.011 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005096/0.4173, allocations: 0.4993 MB / 1.011 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.4173, allocations: 12 kB / 1.011 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/0.4207, allocations: 0.4912 MB / 1.012 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.4236, allocations: 351.4 kB / 1.012 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00562/0.4293, allocations: 3.14 MB / 1.015 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/0.4329, allocations: 223.5 kB / 1.015 GB, free: 8.227 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004368/0.4334, allocations: 83.97 kB / 1.016 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4334, allocations: 4 kB / 1.016 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006737/0.4402, allocations: 2.176 MB / 1.018 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.467e-05/0.4403, allocations: 15.98 kB / 1.018 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.4414, allocations: 253.7 kB / 1.018 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002911/0.4443, allocations: 359.4 kB / 1.018 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006905/0.4512, allocations: 4.176 MB / 1.022 GB, free: 0.8906 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/0.4548, allocations: 219.5 kB / 1.023 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004428/0.4552, allocations: 75.98 kB / 1.023 GB, free: 0.6016 MB / 0.6667 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.002675/0.4579, allocations: 1.004 MB / 1.024 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007643/0.4587, allocations: 205.5 kB / 1.024 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006394/0.4651, allocations: 2.068 MB / 1.026 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004753/0.4699, allocations: 1.66 MB / 1.027 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.47, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/0.472, allocations: 0.5062 MB / 1.028 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005482/0.4725, allocations: 39.92 kB / 1.028 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00279/0.4753, allocations: 188.5 kB / 1.028 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/0.4757, allocations: 105.1 kB / 1.028 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00758/0.4833, allocations: 2.138 MB / 1.03 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007028/0.4904, allocations: 2.876 MB / 1.033 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001936/0.4924, allocations: 0.7948 MB / 1.034 GB, free: 4.941 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003111/0.4955, allocations: 1.322 MB / 1.035 GB, free: 3.598 MB / 0.6823 GB Notification: Performance of Backend: time 9.32e-07/0.4956, allocations: 4 kB / 1.035 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01001/0.5056, allocations: 3.099 MB / 1.038 GB, free: 472 kB / 0.6823 GB Notification: Performance of SimCode: time 0.01979/0.5254, allocations: 7.203 MB / 1.045 GB, free: 9.207 MB / 0.698 GB Notification: Performance of Templates: time 0.6731/1.199, allocations: 47.57 MB / 1.092 GB, free: 126.8 MB / 0.698 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)