Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tan.vol.1..T|tan.vol.3..T|tan.vol.5..T|senTem.T|yBot.u|yMid.u|yTop.u|yHea.u",fileNamePrefix="Buildings_9_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.001698/0.001698, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001932/0.001932, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.164/2.164, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.898/0.8992, allocations: 140.4 MB / 1.089 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.04186/0.9411, allocations: 37.76 MB / 1.125 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.9581, allocations: 9.526 MB / 1.135 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.9612, allocations: 45 kB / 1.135 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.9633, allocations: 0.5942 MB / 1.135 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.9692, allocations: 1.666 MB / 1.137 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004152/0.9734, allocations: 1.254 MB / 1.138 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01124/0.9846, allocations: 8.111 MB / 1.146 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006696/0.9913, allocations: 3.89 MB / 1.15 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007307/0.9987, allocations: 2.875 MB / 1.153 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005001/1.004, allocations: 2.491 MB / 1.155 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008146/1.005, allocations: 357.9 kB / 1.156 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004658/1.009, allocations: 1.195 MB / 1.157 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001214/1.01, allocations: 0.8973 MB / 1.158 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003572/1.014, allocations: 1.847 MB / 1.159 GB, free: 7.617 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.008408/1.022, allocations: 5.23 MB / 1.165 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.022, allocations: 1.094 kB / 1.165 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.074e-06/1.022, allocations: 0 / 1.165 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.905e-05/1.023, allocations: 0 / 1.165 GB, free: 5.18 MB / 0.9044 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.008031/1.031, allocations: 3.634 MB / 1.168 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.031, allocations: 8.188 kB / 1.168 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/1.032, allocations: 359.1 kB / 1.168 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005365/1.037, allocations: 2.668 MB / 1.171 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/1.037, allocations: 181 kB / 1.171 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005113/1.038, allocations: 239 kB / 1.171 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/1.044, allocations: 3.243 MB / 1.175 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.84e-05/1.044, allocations: 6.875 kB / 1.175 GB, free: 14.47 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/1.045, allocations: 99.19 kB / 1.175 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.653e-05/1.045, allocations: 67.48 kB / 1.175 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/1.049, allocations: 2.579 MB / 1.177 GB, free: 13.06 MB / 0.92 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.01848/1.068, allocations: 13.81 MB / 1.191 GB, free: 1.184 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002828/1.071, allocations: 1.612 MB / 1.192 GB, free: 356 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/1.072, allocations: 1.147 MB / 1.193 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000832/1.073, allocations: 0.7118 MB / 1.194 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/1.073, allocations: 54.44 kB / 1.194 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001129/1.074, allocations: 142.8 kB / 1.194 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 3.607e-06/1.074, allocations: 0 / 1.194 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126): time 0.009608/1.084, allocations: 3.448 MB / 1.198 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/1.084, allocations: 145.5 kB / 1.198 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/1.087, allocations: 2.07 MB / 1.2 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/1.087, allocations: 57.69 kB / 1.2 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/1.088, allocations: 1.262 MB / 1.201 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004527/1.089, allocations: 437.8 kB / 1.202 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/1.089, allocations: 347.2 kB / 1.202 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/1.089, allocations: 309 kB / 1.202 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/1.091, allocations: 0.7503 MB / 1.203 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/1.092, allocations: 1.24 MB / 1.204 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002813/1.095, allocations: 2.049 MB / 1.206 GB, free: 3.445 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.095, allocations: 4 kB / 1.206 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004119/1.099, allocations: 2.429 MB / 1.209 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/1.099, allocations: 12 kB / 1.209 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/1.099, allocations: 16 kB / 1.209 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/1.102, allocations: 0.517 MB / 1.209 GB, free: 456 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.103, allocations: 343.5 kB / 1.209 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/1.107, allocations: 3.35 MB / 1.213 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/1.109, allocations: 119.7 kB / 1.213 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.109, allocations: 80.06 kB / 1.213 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002868/1.112, allocations: 1.573 MB / 1.214 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001917/1.114, allocations: 1.233 MB / 1.216 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003157/1.117, allocations: 2.037 MB / 1.218 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-05/1.117, allocations: 4 kB / 1.218 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.004615/1.121, allocations: 2.393 MB / 1.22 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/1.121, allocations: 8 kB / 1.22 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/1.122, allocations: 20 kB / 1.22 GB, free: 4.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007004/1.122, allocations: 246.2 kB / 1.22 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.124, allocations: 367.4 kB / 1.221 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004825/1.128, allocations: 4.562 MB / 1.225 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/1.131, allocations: 119.8 kB / 1.225 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/1.131, allocations: 83.97 kB / 1.225 GB, free: 15.06 MB / 0.9669 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.0005186/1.131, allocations: 288.5 kB / 1.225 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006219/1.132, allocations: 217.2 kB / 1.226 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/1.136, allocations: 2.066 MB / 1.228 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002889/1.139, allocations: 1.668 MB / 1.229 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.139, allocations: 4 kB / 1.229 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.141, allocations: 0.4906 MB / 1.23 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007881/1.142, allocations: 24 kB / 1.23 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/1.144, allocations: 96.05 kB / 1.23 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/1.144, allocations: 101.2 kB / 1.23 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00452/1.148, allocations: 2.126 MB / 1.232 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004587/1.153, allocations: 2.896 MB / 1.235 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001142/1.154, allocations: 0.7948 MB / 1.236 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003312/1.158, allocations: 1.428 MB / 1.237 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of Backend: time 3.6e-07/1.158, allocations: 4 kB / 1.237 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008335/1.166, allocations: 3.131 MB / 1.24 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of SimCode: time 0.01436/1.18, allocations: 6.233 MB / 1.246 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of Templates: time 0.09419/1.274, allocations: 53.39 MB / 1.298 GB, free: 4.398 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)