Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.00094/0.00094, allocations: 183.9 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0007205/0.0007205, allocations: 95.84 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.000349, allocations: 8.844 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1529, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.02286/0.1758, allocations: 37.43 MB / 0.9333 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.1889, allocations: 12.86 MB / 0.9459 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.1901, allocations: 51.62 kB / 0.9459 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1912, allocations: 473.2 kB / 0.9464 GB, free: 17.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.1937, allocations: 1.45 MB / 0.9478 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.1958, allocations: 1.089 MB / 0.9488 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006641/0.2024, allocations: 10.4 MB / 0.959 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.2052, allocations: 3.016 MB / 0.9619 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.2083, allocations: 2.174 MB / 0.9641 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.211, allocations: 2.252 MB / 0.9663 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002948/0.2113, allocations: 132 kB / 0.9664 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.2134, allocations: 0.9357 MB / 0.9673 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005625/0.214, allocations: 0.6107 MB / 0.9679 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.2156, allocations: 1.516 MB / 0.9694 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004392/0.22, allocations: 4.836 MB / 0.9741 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.22, allocations: 0 / 0.9741 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.824e-06/0.22, allocations: 0 / 0.9741 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.782e-05/0.2201, allocations: 0 / 0.9741 GB, free: 4.699 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.004694/0.2248, allocations: 2.965 MB / 0.977 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2248, allocations: 12.03 kB / 0.977 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008493/0.2257, allocations: 360.8 kB / 0.9774 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003697/0.2294, allocations: 2.566 MB / 0.9799 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.2295, allocations: 176.6 kB / 0.98 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.2298, allocations: 239.9 kB / 0.9803 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004535/0.2344, allocations: 3.203 MB / 0.9834 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/0.2344, allocations: 7.844 kB / 0.9834 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.2346, allocations: 100 kB / 0.9835 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-05/0.2347, allocations: 63.98 kB / 0.9836 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003746/0.2385, allocations: 2.582 MB / 0.9861 GB, free: 8.16 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.01423/0.2527, allocations: 13.72 MB / 0.9995 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.2551, allocations: 1.627 MB / 1.001 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.2566, allocations: 1.166 MB / 1.002 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007557/0.2574, allocations: 0.7204 MB / 1.003 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.2574, allocations: 51.56 kB / 1.003 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001051/0.2585, allocations: 190.8 kB / 1.003 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=126): time 4.138e-06/0.2585, allocations: 0 / 1.003 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126): time 0.007571/0.2661, allocations: 3.406 MB / 1.006 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.2662, allocations: 141.5 kB / 1.007 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002314/0.2685, allocations: 1.958 MB / 1.009 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/0.2686, allocations: 53.7 kB / 1.009 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00099/0.2696, allocations: 1.254 MB / 1.01 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003662/0.27, allocations: 453.5 kB / 1.01 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.2702, allocations: 149.6 kB / 1.01 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2703, allocations: 309.1 kB / 1.011 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.2713, allocations: 0.7339 MB / 1.011 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.2727, allocations: 1.24 MB / 1.013 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002504/0.2752, allocations: 2.037 MB / 1.015 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.2752, allocations: 4 kB / 1.015 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003607/0.2789, allocations: 2.433 MB / 1.017 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.2792, allocations: 0.4991 MB / 1.017 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.2792, allocations: 16 kB / 1.017 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.281, allocations: 0.4961 MB / 1.018 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.2822, allocations: 347.4 kB / 1.018 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.2852, allocations: 3.148 MB / 1.021 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.2869, allocations: 219.6 kB / 1.022 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.2871, allocations: 83.91 kB / 1.022 GB, free: 1.562 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.2871, allocations: 4 kB / 1.022 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003164/0.2903, allocations: 2.191 MB / 1.024 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.2903, allocations: 12.94 kB / 1.024 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/0.2908, allocations: 249.5 kB / 1.024 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.292, allocations: 375.3 kB / 1.024 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00379/0.2958, allocations: 4.161 MB / 1.028 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.2975, allocations: 229.2 kB / 1.029 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.2976, allocations: 75.98 kB / 1.029 GB, free: 10 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 (onOffHea.y,$PRE.onOffHea.y,yTop.u,and2.y,onOffMid.y,$PRE.onOffMid.y,onOffBot.y,$PRE.onOffBot.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001463/0.2991, allocations: 1 MB / 1.03 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000356/0.2995, allocations: 205.5 kB / 1.03 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.3027, allocations: 2.07 MB / 1.032 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00229/0.305, allocations: 1.671 MB / 1.034 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.305, allocations: 0 / 1.034 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008344/0.3058, allocations: 474.4 kB / 1.034 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.3061, allocations: 27.98 kB / 1.034 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.3073, allocations: 205.4 kB / 1.034 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.3075, allocations: 97.16 kB / 1.034 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003706/0.3112, allocations: 2.158 MB / 1.036 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00365/0.3149, allocations: 2.892 MB / 1.039 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009752/0.3159, allocations: 0.7909 MB / 1.04 GB, free: 14.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001708/0.3176, allocations: 1.349 MB / 1.041 GB, free: 12.97 MB / 0.698 GB Notification: Performance of Backend: time 4.71e-07/0.3176, allocations: 0 / 1.041 GB, free: 12.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005408/0.323, allocations: 3.127 MB / 1.044 GB, free: 9.82 MB / 0.698 GB Notification: Performance of SimCode: time 0.009947/0.333, allocations: 7.258 MB / 1.051 GB, free: 2.512 MB / 0.698 GB Notification: Performance of Templates: time 0.3618/0.6948, allocations: 48.76 MB / 1.099 GB, free: 120.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)