Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001549/0.001549, allocations: 106.1 kB / 16.41 MB, free: 5.977 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.001684/0.001684, allocations: 194.1 kB / 17.35 MB, free: 5.578 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.662/2.662, allocations: 472.7 MB / 0.746 GB, free: 464 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.89 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7263/0.7277, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03837/0.7661, allocations: 37.79 MB / 1.263 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01351/0.7796, allocations: 9.521 MB / 1.273 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.7814, allocations: 47.75 kB / 1.273 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.7832, allocations: 0.5897 MB / 1.273 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.7877, allocations: 1.666 MB / 1.275 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.791, allocations: 1.253 MB / 1.276 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.009081/0.8001, allocations: 8.112 MB / 1.284 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00478/0.8049, allocations: 3.878 MB / 1.288 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005292/0.8102, allocations: 2.876 MB / 1.291 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003889/0.8141, allocations: 2.49 MB / 1.293 GB, free: 8.992 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.8152, allocations: 356 kB / 1.293 GB, free: 8.645 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.8185, allocations: 1.201 MB / 1.294 GB, free: 7.441 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.00134/0.8198, allocations: 0.8919 MB / 1.295 GB, free: 6.547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003173/0.823, allocations: 1.847 MB / 1.297 GB, free: 4.691 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00687/0.8299, allocations: 5.237 MB / 1.302 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8299, allocations: 4 kB / 1.302 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.036e-06/0.8299, allocations: 4 kB / 1.302 GB, free: 15.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001513/0.8301, allocations: 3.938 kB / 1.302 GB, free: 15.43 MB / 1.029 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.008017/0.8381, allocations: 3.721 MB / 1.306 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8382, allocations: 12.03 kB / 1.306 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.8397, allocations: 374.8 kB / 1.306 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004988/0.8447, allocations: 2.681 MB / 1.309 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.8448, allocations: 176.6 kB / 1.309 GB, free: 8.352 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005733/0.8454, allocations: 243.9 kB / 1.309 GB, free: 8.113 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00603/0.8515, allocations: 3.232 MB / 1.312 GB, free: 4.742 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.806e-05/0.8515, allocations: 3.938 kB / 1.312 GB, free: 4.738 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003176/0.8519, allocations: 100 kB / 1.313 GB, free: 4.641 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.967e-05/0.8519, allocations: 67.98 kB / 1.313 GB, free: 4.574 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/0.8565, allocations: 2.586 MB / 1.315 GB, free: 1.973 MB / 1.029 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.01727/0.8738, allocations: 13.82 MB / 1.329 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.8765, allocations: 1.619 MB / 1.33 GB, free: 1.461 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.8781, allocations: 1.159 MB / 1.331 GB, free: 304 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008127/0.8789, allocations: 0.7127 MB / 1.332 GB, free: 15.44 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.879, allocations: 47.56 kB / 1.332 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009991/0.88, allocations: 155.1 kB / 1.332 GB, free: 15.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=126): time 5.5e-06/0.88, allocations: 4 kB / 1.332 GB, free: 15.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=126): time 0.009442/0.8895, allocations: 3.442 MB / 1.336 GB, free: 11.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.8896, allocations: 149.5 kB / 1.336 GB, free: 11.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.893, allocations: 2.074 MB / 1.338 GB, free: 9.445 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.8932, allocations: 53.7 kB / 1.338 GB, free: 9.387 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.8943, allocations: 1.284 MB / 1.339 GB, free: 8.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/0.8948, allocations: 468 kB / 1.34 GB, free: 7.629 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005678/0.8954, allocations: 351.3 kB / 1.34 GB, free: 7.281 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.8955, allocations: 309 kB / 1.34 GB, free: 6.977 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.8967, allocations: 0.7503 MB / 1.341 GB, free: 6.223 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.8982, allocations: 1.244 MB / 1.342 GB, free: 4.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.901, allocations: 2.041 MB / 1.344 GB, free: 2.535 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.901, allocations: 7.938 kB / 1.344 GB, free: 2.527 MB / 1.061 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004156/0.9052, allocations: 2.438 MB / 1.346 GB, free: 76 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.9052, allocations: 12 kB / 1.346 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.9052, allocations: 16 kB / 1.347 GB, free: 48 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/0.9075, allocations: 0.514 MB / 1.347 GB, free: 15.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.9088, allocations: 347.5 kB / 1.347 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.9123, allocations: 3.363 MB / 1.351 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.914, allocations: 119.8 kB / 1.351 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.9142, allocations: 79.98 kB / 1.351 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002418/0.9166, allocations: 1.569 MB / 1.352 GB, free: 9.891 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001504/0.9181, allocations: 1.237 MB / 1.354 GB, free: 8.445 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002684/0.9208, allocations: 2.029 MB / 1.356 GB, free: 6.223 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.143e-05/0.9208, allocations: 4 kB / 1.356 GB, free: 6.219 MB / 1.076 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.004132/0.925, allocations: 2.41 MB / 1.358 GB, free: 3.793 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.925, allocations: 12 kB / 1.358 GB, free: 3.781 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.925, allocations: 12 kB / 1.358 GB, free: 3.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.9256, allocations: 242 kB / 1.358 GB, free: 3.527 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.927, allocations: 367.4 kB / 1.359 GB, free: 3.168 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/0.9314, allocations: 4.562 MB / 1.363 GB, free: 14.33 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.9331, allocations: 139.7 kB / 1.363 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.9333, allocations: 75.98 kB / 1.363 GB, free: 14.12 MB / 1.092 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.00045/0.9337, allocations: 291.9 kB / 1.363 GB, free: 13.83 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/0.9344, allocations: 218.6 kB / 1.364 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/0.938, allocations: 2.077 MB / 1.366 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002475/0.9405, allocations: 1.66 MB / 1.367 GB, free: 9.852 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.9405, allocations: 7.875 kB / 1.367 GB, free: 9.844 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.9416, allocations: 0.4917 MB / 1.368 GB, free: 9.332 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/0.9421, allocations: 32.09 kB / 1.368 GB, free: 9.301 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.9435, allocations: 95.78 kB / 1.368 GB, free: 9.207 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.9437, allocations: 97.16 kB / 1.368 GB, free: 9.109 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004139/0.9479, allocations: 2.119 MB / 1.37 GB, free: 6.98 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004114/0.952, allocations: 2.917 MB / 1.373 GB, free: 4.043 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001066/0.9531, allocations: 0.8027 MB / 1.374 GB, free: 3.242 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002307/0.9554, allocations: 1.428 MB / 1.375 GB, free: 1.793 MB / 1.092 GB Notification: Performance of Backend: time 4.4e-07/0.9554, allocations: 0 / 1.375 GB, free: 1.793 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006296/0.9617, allocations: 3.152 MB / 1.378 GB, free: 14.61 MB / 1.107 GB Notification: Performance of SimCode: time 0.01073/0.9724, allocations: 6.316 MB / 1.384 GB, free: 8.262 MB / 1.107 GB Notification: Performance of Templates: time 0.08145/1.054, allocations: 53.39 MB / 1.436 GB, free: 3.281 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)