Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") translateModel(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.562/1.562, allocations: 289.9 MB / 297.4 MB, free: 6.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009715/0.0009714, allocations: 184.8 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 92.44 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.176e-05, allocations: 7.984 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6575/0.6575, allocations: 116.3 MB / 0.9732 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.973/1.631, allocations: 420.9 MB / 1.384 GB, free: 136 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/1.631, allocations: 86.45 kB / 1.384 GB, free: 136 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 16.08/17.71, allocations: 4.578 GB / 5.963 GB, free: 104.1 MB / 1.073 GB Notification: Performance of FrontEnd: time 2.144e-06/17.71, allocations: 2.812 kB / 5.963 GB, free: 104.1 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.002755/17.72, allocations: 397.9 kB / 5.963 GB, free: 104.1 MB / 1.073 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.04323/17.76, allocations: 13.63 MB / 5.976 GB, free: 99.26 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/17.76, allocations: 12.78 kB / 5.976 GB, free: 99.26 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01052/17.77, allocations: 1.873 MB / 5.978 GB, free: 98.37 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04605/17.82, allocations: 17.75 MB / 5.996 GB, free: 96.68 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000875/17.82, allocations: 400.4 kB / 5.996 GB, free: 96.68 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006084/17.82, allocations: 0.7639 MB / 5.997 GB, free: 96.68 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03921/17.86, allocations: 14.46 MB / 6.011 GB, free: 96.62 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05645/17.92, allocations: 16.13 MB / 6.027 GB, free: 94.42 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009698/17.92, allocations: 45.48 kB / 6.027 GB, free: 94.42 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005269/17.92, allocations: 31.22 kB / 6.027 GB, free: 94.41 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003924/17.93, allocations: 348.4 kB / 6.027 GB, free: 94.41 MB / 1.073 GB Warning: The model contains alias variables with conflicting start and/or 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.1427/18.07, allocations: 78.53 MB / 6.104 GB, free: 60.49 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0207/18.09, allocations: 11.3 MB / 6.115 GB, free: 57.54 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01023/18.1, allocations: 5.812 MB / 6.12 GB, free: 55.34 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06945/18.17, allocations: 28.32 MB / 6.148 GB, free: 40.74 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/18.17, allocations: 122.8 kB / 6.148 GB, free: 40.64 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008743/18.18, allocations: 0.5585 MB / 6.149 GB, free: 40.2 MB / 1.073 GB Notification: Performance of pre-optimization done (n=651): time 4.546e-05/18.18, allocations: 0 / 6.149 GB, free: 40.2 MB / 1.073 GB Notification: Performance of matching and sorting (n=651): time 0.02725/18.2, allocations: 10.48 MB / 6.159 GB, free: 36.23 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/18.2, allocations: 116.3 kB / 6.159 GB, free: 36.16 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0238/18.23, allocations: 10.7 MB / 6.169 GB, free: 32.15 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.002572/18.23, allocations: 33.36 kB / 6.169 GB, free: 32.12 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.007516/18.24, allocations: 7.076 MB / 6.176 GB, free: 26.67 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003472/18.24, allocations: 2.201 MB / 6.179 GB, free: 24.95 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00206/18.24, allocations: 0 / 6.179 GB, free: 24.95 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.00121/18.25, allocations: 0.776 MB / 6.179 GB, free: 24.44 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00923/18.25, allocations: 5.354 MB / 6.185 GB, free: 22 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01203/18.27, allocations: 9.16 MB / 6.193 GB, free: 12 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01971/18.29, allocations: 9.473 MB / 6.203 GB, free: 4.457 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001372/18.29, allocations: 36 kB / 6.203 GB, free: 4.422 MB / 1.073 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05671/18.34, allocations: 19.93 MB / 6.222 GB, free: 6.406 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.7616/19.11, allocations: 66.73 MB / 6.287 GB, free: 64.91 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005328/19.11, allocations: 120.4 kB / 6.287 GB, free: 64.91 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01452/19.12, allocations: 4.036 MB / 6.291 GB, free: 64.79 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/19.13, allocations: 2.408 MB / 6.294 GB, free: 64.79 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/19.15, allocations: 20.64 MB / 6.314 GB, free: 53.03 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0138/19.16, allocations: 0.8724 MB / 6.315 GB, free: 53.02 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002836/19.17, allocations: 0.5386 MB / 6.315 GB, free: 53.02 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/19.17, allocations: 4.312 kB / 6.315 GB, free: 53.02 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03593/19.2, allocations: 17.9 MB / 6.333 GB, free: 52.7 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004428/19.2, allocations: 120.8 kB / 6.333 GB, free: 52.7 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/19.22, allocations: 4.049 MB / 6.337 GB, free: 52.57 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01047/19.23, allocations: 2.375 MB / 6.339 GB, free: 52.57 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02112/19.25, allocations: 18.83 MB / 6.358 GB, free: 58.57 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01436/19.26, allocations: 0.8156 MB / 6.358 GB, free: 58.57 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005049/19.27, allocations: 0.5429 MB / 6.359 GB, free: 58.57 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {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.006083/19.27, allocations: 446.7 kB / 6.359 GB, free: 58.47 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004948/19.28, allocations: 1.084 MB / 6.36 GB, free: 58.3 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02975/19.31, allocations: 11.44 MB / 6.372 GB, free: 57.78 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.102e-05/19.31, allocations: 65.75 kB / 6.372 GB, free: 57.78 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/19.31, allocations: 8.391 kB / 6.372 GB, free: 57.78 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01585/19.33, allocations: 9.664 MB / 6.381 GB, free: 57.2 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05038/19.38, allocations: 24.29 MB / 6.405 GB, free: 55.97 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.731e-05/19.38, allocations: 12.62 kB / 6.405 GB, free: 55.97 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004796/19.38, allocations: 1.128 MB / 6.406 GB, free: 55.97 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007251/19.39, allocations: 2.486 MB / 6.408 GB, free: 55.84 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009682/19.39, allocations: 95.69 kB / 6.408 GB, free: 55.84 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/19.4, allocations: 17.92 MB / 6.426 GB, free: 59.98 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-05/19.4, allocations: 24.52 kB / 6.426 GB, free: 59.98 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02884/19.43, allocations: 20.98 MB / 6.446 GB, free: 54.15 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00906/19.44, allocations: 2.722 MB / 6.449 GB, free: 53.46 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003681/19.45, allocations: 43.31 kB / 6.449 GB, free: 53.46 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01035/19.46, allocations: 0.6329 MB / 6.45 GB, free: 53.44 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001422/19.46, allocations: 444.9 kB / 6.45 GB, free: 53.42 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001447/19.46, allocations: 289.3 kB / 6.45 GB, free: 53.42 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.01946/19.48, allocations: 8.005 MB / 6.458 GB, free: 53.13 MB / 1.12 GB Notification: Performance of sort global known variables: time 7.71e-07/19.48, allocations: 0 / 6.458 GB, free: 53.13 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.04287/19.52, allocations: 7.522 MB / 6.466 GB, free: 52.55 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (561): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006196/19.53, allocations: 2.066 MB / 6.468 GB, free: 52.05 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.04057/19.57, allocations: 20.61 MB / 6.488 GB, free: 50.48 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.771e-05/19.57, allocations: 7.656 kB / 6.488 GB, free: 50.48 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.009559/19.58, allocations: 4.964 MB / 6.493 GB, free: 49.99 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03087/19.61, allocations: 5.369 MB / 6.498 GB, free: 49.91 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06976/19.68, allocations: 26.81 MB / 6.524 GB, free: 44.3 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01746/19.7, allocations: 10.15 MB / 6.534 GB, free: 43.04 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.02927/19.73, allocations: 8.435 MB / 6.542 GB, free: 42.41 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003819/19.73, allocations: 0.6649 MB / 6.543 GB, free: 42.4 MB / 1.12 GB Notification: Performance of SimCode: time 2.274e-06/19.73, allocations: 0 / 6.543 GB, free: 42.4 MB / 1.12 GB Notification: Performance of Templates: time 1.138/20.87, allocations: 247.2 MB / 6.784 GB, free: 144.3 MB / 1.12 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & ./Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)