Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 217.3 kB / 23.01 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.153/3.153, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 68.66 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3255, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature): time 0.03973/0.3653, allocations: 34.87 MB / 1.361 GB, free: 14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.3801, allocations: 8.796 MB / 1.37 GB, free: 5.184 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.3815, allocations: 63.44 kB / 1.37 GB, free: 5.121 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.383, allocations: 0.5703 MB / 1.37 GB, free: 4.547 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.3871, allocations: 1.684 MB / 1.372 GB, free: 2.855 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.3902, allocations: 1.275 MB / 1.373 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009522/0.3997, allocations: 8.295 MB / 1.381 GB, free: 9.273 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003906/0.4036, allocations: 2.727 MB / 1.384 GB, free: 6.48 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006249/0.4098, allocations: 3.065 MB / 1.387 GB, free: 3.418 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/0.4142, allocations: 2.564 MB / 1.39 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000748/0.415, allocations: 360 kB / 1.39 GB, free: 0.4922 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.4178, allocations: 1.073 MB / 1.391 GB, free: 15.42 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009866/0.4188, allocations: 0.9343 MB / 1.392 GB, free: 14.48 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002344/0.4211, allocations: 1.513 MB / 1.393 GB, free: 12.96 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006631/0.4278, allocations: 5.283 MB / 1.398 GB, free: 7.66 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4278, allocations: 0 / 1.398 GB, free: 7.66 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4278, allocations: 0 / 1.398 GB, free: 7.66 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001199/0.4279, allocations: 0 / 1.398 GB, free: 7.66 MB / 1.092 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.007155/0.4351, allocations: 3.619 MB / 1.402 GB, free: 3.988 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4351, allocations: 11.97 kB / 1.402 GB, free: 3.977 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.4364, allocations: 398.7 kB / 1.402 GB, free: 3.586 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005295/0.4417, allocations: 2.644 MB / 1.405 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.4419, allocations: 180.6 kB / 1.405 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/0.4423, allocations: 236 kB / 1.405 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00575/0.448, allocations: 3.697 MB / 1.409 GB, free: 12.54 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-05/0.4481, allocations: 11.89 kB / 1.409 GB, free: 12.53 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.4483, allocations: 96 kB / 1.409 GB, free: 12.44 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.516e-05/0.4484, allocations: 67.98 kB / 1.409 GB, free: 12.37 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004329/0.4527, allocations: 2.582 MB / 1.412 GB, free: 9.773 MB / 1.107 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.01519/0.4679, allocations: 9.065 MB / 1.42 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.4705, allocations: 1.511 MB / 1.422 GB, free: 15.03 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.4722, allocations: 1.069 MB / 1.423 GB, free: 13.95 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005682/0.4728, allocations: 108.9 kB / 1.423 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.4728, allocations: 51.56 kB / 1.423 GB, free: 13.79 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000983/0.4738, allocations: 171.2 kB / 1.423 GB, free: 13.62 MB / 1.123 GB Notification: Performance of pre-optimization done (n=126): time 3.406e-06/0.4738, allocations: 0 / 1.423 GB, free: 13.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=126): time 0.009462/0.4833, allocations: 3.283 MB / 1.427 GB, free: 10.32 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/0.4833, allocations: 141.5 kB / 1.427 GB, free: 10.15 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002783/0.4861, allocations: 2.039 MB / 1.429 GB, free: 8.07 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.4863, allocations: 53.7 kB / 1.429 GB, free: 8.012 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.4875, allocations: 1.3 MB / 1.43 GB, free: 6.699 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/0.488, allocations: 468 kB / 1.43 GB, free: 6.238 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00052/0.4885, allocations: 347.4 kB / 1.431 GB, free: 5.895 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4886, allocations: 301.1 kB / 1.431 GB, free: 5.598 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.4898, allocations: 0.7503 MB / 1.432 GB, free: 4.844 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.4916, allocations: 1.471 MB / 1.433 GB, free: 3.105 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/0.4944, allocations: 2.045 MB / 1.435 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.4944, allocations: 7.938 kB / 1.435 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00405/0.4985, allocations: 2.422 MB / 1.438 GB, free: 14.42 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.4985, allocations: 12 kB / 1.438 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/0.4985, allocations: 15.98 kB / 1.438 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/0.5008, allocations: 0.5159 MB / 1.438 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.5022, allocations: 351.4 kB / 1.438 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.5057, allocations: 3.197 MB / 1.442 GB, free: 10.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.5072, allocations: 127.9 kB / 1.442 GB, free: 10.08 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.5074, allocations: 80.08 kB / 1.442 GB, free: 10 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002456/0.5098, allocations: 1.573 MB / 1.443 GB, free: 8.422 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001734/0.5116, allocations: 1.467 MB / 1.445 GB, free: 6.688 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00282/0.5144, allocations: 2.029 MB / 1.447 GB, free: 4.461 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.875e-06/0.5144, allocations: 4 kB / 1.447 GB, free: 4.457 MB / 1.139 GB Notification: Performance of matching and sorting (n=213) (initialization_lambda0): time 0.004094/0.5185, allocations: 2.391 MB / 1.449 GB, free: 2.051 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.5185, allocations: 12 kB / 1.449 GB, free: 2.039 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.5185, allocations: 15.94 kB / 1.449 GB, free: 2.023 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.5191, allocations: 242.1 kB / 1.449 GB, free: 1.781 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.5206, allocations: 371.4 kB / 1.45 GB, free: 1.418 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00454/0.5251, allocations: 4.247 MB / 1.454 GB, free: 12.97 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.5267, allocations: 127.9 kB / 1.454 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.5268, allocations: 83.97 kB / 1.454 GB, free: 12.76 MB / 1.154 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.0004771/0.5273, allocations: 291.7 kB / 1.454 GB, free: 12.47 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/0.5277, allocations: 210.7 kB / 1.455 GB, free: 12.26 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/0.5314, allocations: 2.065 MB / 1.457 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002689/0.5341, allocations: 1.656 MB / 1.458 GB, free: 8.512 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.5341, allocations: 4 kB / 1.458 GB, free: 8.508 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.5353, allocations: 434.4 kB / 1.459 GB, free: 8.082 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.5355, allocations: 28.28 kB / 1.459 GB, free: 8.055 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.5367, allocations: 91.77 kB / 1.459 GB, free: 7.965 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.5369, allocations: 105.1 kB / 1.459 GB, free: 7.863 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004205/0.5411, allocations: 2.128 MB / 1.461 GB, free: 5.723 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004179/0.5453, allocations: 2.912 MB / 1.464 GB, free: 2.793 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001104/0.5464, allocations: 0.7519 MB / 1.464 GB, free: 2.043 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001997/0.5484, allocations: 1.384 MB / 1.466 GB, free: 0.6367 MB / 1.154 GB Notification: Performance of Backend: time 2e-07/0.5484, allocations: 7.938 kB / 1.466 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.005921/0.5543, allocations: 2.973 MB / 1.469 GB, free: 13.62 MB / 1.17 GB Notification: Performance of SimCode: time 0.01061/0.5649, allocations: 6.304 MB / 1.475 GB, free: 7.281 MB / 1.17 GB Notification: Performance of Templates: time 0.09102/0.6559, allocations: 59.6 MB / 1.533 GB, free: 12.47 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & ./Buildings_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.745801851000579] Failed to read output from testmodel.py, exit status != 0: 0.6636201630026335 0.677444771 0.246600074 Calling exit ...