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.001145/0.001145, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.001177/0.001177, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.754/1.754, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001494/0.001495, allocations: 71.89 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.21, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.4417/0.6518, allocations: 37.99 MB / 0.8219 GB, free: 25.47 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.6704, allocations: 12.43 MB / 0.834 GB, free: 16.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003132/0.6735, allocations: 53.5 kB / 0.8341 GB, free: 16.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.6756, allocations: 0.5748 MB / 0.8346 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.681, allocations: 1.581 MB / 0.8362 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.6851, allocations: 1.238 MB / 0.8374 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01084/0.696, allocations: 8.066 MB / 0.8453 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005869/0.7019, allocations: 3.878 MB / 0.849 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00727/0.7092, allocations: 2.83 MB / 0.8518 GB, free: 8.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005555/0.7148, allocations: 2.489 MB / 0.8542 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.7163, allocations: 357.9 kB / 0.8546 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005349/0.7216, allocations: 1.199 MB / 0.8558 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001679/0.7233, allocations: 0.8843 MB / 0.8566 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00441/0.7277, allocations: 1.845 MB / 0.8584 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008164/0.7359, allocations: 5.206 MB / 0.8635 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.736, allocations: 0 / 0.8635 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.364e-06/0.736, allocations: 1.562 kB / 0.8635 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001811/0.7362, allocations: 0 / 0.8635 GB, free: 2.559 MB / 0.6544 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.009174/0.7454, allocations: 3.605 MB / 0.867 GB, free: 76 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.7454, allocations: 9.719 kB / 0.867 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.7469, allocations: 356.2 kB / 0.8674 GB, free: 15.9 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005856/0.7528, allocations: 2.619 MB / 0.8699 GB, free: 14.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.7531, allocations: 176.4 kB / 0.8701 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000574/0.7537, allocations: 231.5 kB / 0.8703 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006598/0.7603, allocations: 3.233 MB / 0.8735 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.079e-05/0.7604, allocations: 11.25 kB / 0.8735 GB, free: 11.93 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002705/0.7606, allocations: 98.03 kB / 0.8736 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.616e-05/0.7607, allocations: 69.42 kB / 0.8736 GB, free: 11.84 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00479/0.7655, allocations: 2.59 MB / 0.8762 GB, free: 10.51 MB / 0.67 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.0215/0.7871, allocations: 13.77 MB / 0.8896 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.7897, allocations: 1.62 MB / 0.8912 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.7914, allocations: 1.16 MB / 0.8923 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009386/0.7923, allocations: 0.7049 MB / 0.893 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.773e-05/0.7924, allocations: 51.56 kB / 0.8931 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001341/0.7938, allocations: 154.7 kB / 0.8932 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=126): time 7.875e-06/0.7938, allocations: 0 / 0.8932 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of matching and sorting (n=126): time 0.009813/0.8036, allocations: 3.445 MB / 0.8966 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.8037, allocations: 145.5 kB / 0.8967 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.8075, allocations: 2.032 MB / 0.8987 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002634/0.8078, allocations: 53.7 kB / 0.8988 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.8091, allocations: 1.254 MB / 0.9 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/0.8097, allocations: 445.7 kB / 0.9004 GB, free: 2.441 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.8102, allocations: 350.8 kB / 0.9007 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.8103, allocations: 309.1 kB / 0.901 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.8115, allocations: 0.7503 MB / 0.9018 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.8131, allocations: 1.244 MB / 0.903 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/0.8158, allocations: 2.037 MB / 0.905 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.59e-05/0.8158, allocations: 4 kB / 0.905 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004291/0.8201, allocations: 2.429 MB / 0.9074 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.8202, allocations: 12 kB / 0.9074 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.8202, allocations: 12 kB / 0.9074 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/0.8225, allocations: 0.5195 MB / 0.9079 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.8238, allocations: 347.4 kB / 0.9082 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/0.8273, allocations: 3.347 MB / 0.9115 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.8295, allocations: 119.7 kB / 0.9116 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.8296, allocations: 84.14 kB / 0.9117 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002691/0.8323, allocations: 1.565 MB / 0.9132 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001456/0.8338, allocations: 1.24 MB / 0.9144 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002591/0.8364, allocations: 2.029 MB / 0.9164 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.586e-06/0.8364, allocations: 4 kB / 0.9164 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.004202/0.8406, allocations: 2.394 MB / 0.9187 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.8407, allocations: 13.88 kB / 0.9188 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.8407, allocations: 12 kB / 0.9188 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.8413, allocations: 242.3 kB / 0.919 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.8428, allocations: 367.4 kB / 0.9193 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004512/0.8473, allocations: 4.582 MB / 0.9238 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/0.8494, allocations: 111.8 kB / 0.9239 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.8496, allocations: 86.62 kB / 0.924 GB, free: 8.98 MB / 0.7169 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.0005255/0.8501, allocations: 287.8 kB / 0.9243 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004903/0.8506, allocations: 205.5 kB / 0.9245 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.8542, allocations: 2.071 MB / 0.9265 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002431/0.8567, allocations: 1.672 MB / 0.9281 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.8567, allocations: 0 / 0.9281 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.8579, allocations: 0.4906 MB / 0.9286 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/0.8583, allocations: 24 kB / 0.9286 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.8595, allocations: 88.27 kB / 0.9287 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.8598, allocations: 101.2 kB / 0.9288 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004/0.8638, allocations: 2.117 MB / 0.9309 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004005/0.8678, allocations: 2.904 MB / 0.9337 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001026/0.8688, allocations: 0.7948 MB / 0.9345 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002116/0.871, allocations: 1.4 MB / 0.9359 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of Backend: time 2.8e-07/0.871, allocations: 0 / 0.9359 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006662/0.8776, allocations: 3.136 MB / 0.9389 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01186/0.8895, allocations: 6.205 MB / 0.945 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.08653/0.9761, allocations: 52.9 MB / 0.9966 GB, free: 15.01 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (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)