Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.338/1.338, allocations: 251.5 MB / 267.4 MB, free: 11.11 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.0009306/0.0009306, allocations: 181.2 kB / 326.5 MB, free: 2.719 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.423/1.423, allocations: 205 MB / 0.5766 GB, free: 21.04 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.000773/0.000773, allocations: 82.36 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002915, allocations: 9.906 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1606, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.1108/0.2715, allocations: 150.5 MB / 1.044 GB, free: 13.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.394/0.6655, allocations: 43.8 MB / 1.087 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005822/0.6714, allocations: 181.4 kB / 1.087 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004879/0.6763, allocations: 1.995 MB / 1.089 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01331/0.6896, allocations: 5.419 MB / 1.094 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009364/0.699, allocations: 4.233 MB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.04162/0.7406, allocations: 54.2 MB / 1.151 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02128/0.7619, allocations: 17.82 MB / 1.168 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02044/0.7824, allocations: 11.43 MB / 1.18 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01783/0.8002, allocations: 11.59 MB / 1.191 GB, free: 480 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0028/0.8031, allocations: 0.7344 MB / 1.192 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.8134, allocations: 2.939 MB / 1.194 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.003677/0.8171, allocations: 3.245 MB / 1.198 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.01341/0.8305, allocations: 8.588 MB / 1.206 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.02956/0.8601, allocations: 29.39 MB / 1.235 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8602, allocations: 0 / 1.235 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8602, allocations: 0 / 1.235 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0008161/0.861, allocations: 4 kB / 1.235 GB, free: 4.414 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.03289/0.8939, allocations: 15.65 MB / 1.25 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8939, allocations: 15.97 kB / 1.25 GB, free: 4.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00757/0.9015, allocations: 1.917 MB / 1.252 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/0.9266, allocations: 14.96 MB / 1.267 GB, free: 4.094 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006843/0.9273, allocations: 0.966 MB / 1.267 GB, free: 3.125 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/0.93, allocations: 1.299 MB / 1.269 GB, free: 1.828 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03078/0.9607, allocations: 19.12 MB / 1.287 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002487/0.961, allocations: 39.66 kB / 1.287 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001227/0.9623, allocations: 0.5222 MB / 1.288 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002705/0.9625, allocations: 355.8 kB / 1.288 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02737/0.9899, allocations: 16.65 MB / 1.305 GB, free: 12.49 MB / 0.8698 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.1119/1.102, allocations: 85.09 MB / 1.388 GB, free: 3.172 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/1.119, allocations: 12.25 MB / 1.4 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008751/1.128, allocations: 6.268 MB / 1.406 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6312/1.759, allocations: 28.13 MB / 1.433 GB, free: 368.9 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.221e-05/1.759, allocations: 116.8 kB / 1.433 GB, free: 368.8 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004462/1.764, allocations: 0.7305 MB / 1.434 GB, free: 368.7 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=651): time 1.31e-05/1.764, allocations: 4.719 kB / 1.434 GB, free: 368.7 MB / 0.9637 GB Notification: Performance of matching and sorting (n=651): time 0.03267/1.797, allocations: 17.94 MB / 1.452 GB, free: 361.8 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/1.797, allocations: 123.7 kB / 1.452 GB, free: 361.7 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01519/1.812, allocations: 12.7 MB / 1.464 GB, free: 355.3 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.001419/1.813, allocations: 175.1 kB / 1.464 GB, free: 355.2 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.004084/1.817, allocations: 7.212 MB / 1.471 GB, free: 349 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002127/1.82, allocations: 2.283 MB / 1.473 GB, free: 347 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/1.821, allocations: 0.9943 MB / 1.474 GB, free: 346.4 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 3.908e-05/1.821, allocations: 305 kB / 1.475 GB, free: 346.1 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006777/1.827, allocations: 5.779 MB / 1.48 GB, free: 341.8 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007701/1.835, allocations: 9.715 MB / 1.49 GB, free: 330.4 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/1.849, allocations: 15.41 MB / 1.505 GB, free: 313.4 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-05/1.849, allocations: 36 kB / 1.505 GB, free: 313.4 MB / 0.9637 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.0245/1.874, allocations: 18.74 MB / 1.523 GB, free: 294.6 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001135/1.875, allocations: 3.794 MB / 1.527 GB, free: 289.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.951e-05/1.875, allocations: 120 kB / 1.527 GB, free: 288.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0897/1.965, allocations: 11.92 MB / 1.539 GB, free: 277 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007987/1.973, allocations: 2.391 MB / 1.541 GB, free: 274.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/1.985, allocations: 20.37 MB / 1.561 GB, free: 253.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/1.996, allocations: 1.11 MB / 1.562 GB, free: 252.3 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/1.997, allocations: 0.5351 MB / 1.563 GB, free: 251.8 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/1.997, allocations: 11.98 kB / 1.563 GB, free: 251.8 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02243/2.02, allocations: 17.71 MB / 1.58 GB, free: 234 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001998/2.02, allocations: 128 kB / 1.58 GB, free: 233.9 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09252/2.112, allocations: 11.93 MB / 1.592 GB, free: 221.9 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008143/2.121, allocations: 2.355 MB / 1.594 GB, free: 219.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/2.133, allocations: 18.58 MB / 1.612 GB, free: 200.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/2.144, allocations: 1.052 MB / 1.613 GB, free: 199.3 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/2.146, allocations: 0.539 MB / 1.614 GB, free: 198.7 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1242): * Single equations (assignments): 1224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(2,16), (2,16), (2,16), (2,16), (2,16), (2,16), (2,17), (2,17), (2,17), (2,17), (2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.008928/2.155, allocations: 5.779 MB / 1.619 GB, free: 192.9 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003301/2.158, allocations: 1.154 MB / 1.62 GB, free: 191.8 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/2.176, allocations: 11.63 MB / 1.632 GB, free: 180 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01228/2.188, allocations: 9.657 MB / 1.641 GB, free: 170.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/2.188, allocations: 0 / 1.641 GB, free: 170.2 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00587/2.194, allocations: 2.486 MB / 1.644 GB, free: 167.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00261/2.197, allocations: 143.9 kB / 1.644 GB, free: 167.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007131/2.204, allocations: 0.736 MB / 1.644 GB, free: 166.8 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000702/2.205, allocations: 380.7 kB / 1.645 GB, free: 166.5 MB / 0.9637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01895/2.223, allocations: 12.32 MB / 1.657 GB, free: 154.2 MB / 0.9637 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01759/2.241, allocations: 15.72 MB / 1.672 GB, free: 138.3 MB / 0.9637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004285/2.245, allocations: 4.535 MB / 1.677 GB, free: 133.8 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01243/2.258, allocations: 8.68 MB / 1.685 GB, free: 125.1 MB / 0.9637 GB Notification: Performance of Backend: time 4.51e-07/2.258, allocations: 0 / 1.685 GB, free: 125.1 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.03332/2.291, allocations: 19.59 MB / 1.704 GB, free: 105.7 MB / 0.9637 GB Notification: Performance of SimCode: time 0.05489/2.346, allocations: 40.36 MB / 1.744 GB, free: 65.43 MB / 0.9637 GB Notification: Performance of Templates: time 0.9184/3.265, allocations: 289.6 MB / 2.027 GB, free: 163.9 MB / 0.9638 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)