Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.3 MB / 303.2 MB, free: 8.105 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.001065/0.001065, allocations: 179.7 kB / 371.8 MB, free: 10.27 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.59/1.59, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008993/0.0008994, allocations: 90.75 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004269, allocations: 16.16 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2443, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02172/0.2661, allocations: 24.01 MB / 1.003 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01007/0.2762, allocations: 6.804 MB / 1.01 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.2775, allocations: 27.81 kB / 1.01 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.2787, allocations: 394 kB / 1.01 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.282, allocations: 0.9971 MB / 1.011 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.2853, allocations: 1.096 MB / 1.012 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004048/0.2893, allocations: 2.702 MB / 1.015 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.2914, allocations: 1.602 MB / 1.016 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.2936, allocations: 1.176 MB / 1.017 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.295, allocations: 0.9295 MB / 1.018 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.2952, allocations: 80 kB / 1.018 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.2972, allocations: 0.8465 MB / 1.019 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.2976, allocations: 346.7 kB / 1.019 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.2981, allocations: 420.7 kB / 1.02 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002679/0.3008, allocations: 2.751 MB / 1.023 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3008, allocations: 4 kB / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3008, allocations: 0 / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.19e-05/0.3009, allocations: 4 kB / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004318/0.3052, allocations: 2.125 MB / 1.025 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3052, allocations: 8.031 kB / 1.025 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.306, allocations: 237.5 kB / 1.025 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002984/0.309, allocations: 1.601 MB / 1.026 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.972e-05/0.3091, allocations: 110.7 kB / 1.027 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.3094, allocations: 159.9 kB / 1.027 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/0.3125, allocations: 1.97 MB / 1.029 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.3126, allocations: 3.938 kB / 1.029 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.3127, allocations: 64 kB / 1.029 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/0.3128, allocations: 39.98 kB / 1.029 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.3155, allocations: 1.782 MB / 1.03 GB, free: 7.145 MB / 0.6511 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.01309/0.3286, allocations: 7.699 MB / 1.038 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.3307, allocations: 1.46 MB / 1.039 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007271/0.338, allocations: 3.878 MB / 1.043 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.3381, allocations: 43.56 kB / 1.043 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 2.154e-06/0.3381, allocations: 3.938 kB / 1.043 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.002777/0.3409, allocations: 1.506 MB / 1.045 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.341, allocations: 60.41 kB / 1.045 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002525/0.3435, allocations: 1.66 MB / 1.046 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.3436, allocations: 49.7 kB / 1.046 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008044/0.3444, allocations: 0.7535 MB / 1.047 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.3448, allocations: 311.5 kB / 1.047 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.3449, allocations: 27.94 kB / 1.047 GB, free: 4.996 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002459/0.3452, allocations: 369.9 kB / 1.048 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.3463, allocations: 0.6791 MB / 1.048 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.3476, allocations: 1.008 MB / 1.049 GB, free: 2.812 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.3489, allocations: 0.8728 MB / 1.05 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.349, allocations: 0 / 1.05 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.0031/0.3521, allocations: 1.936 MB / 1.052 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001548/0.3536, allocations: 3.526 MB / 1.056 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.3537, allocations: 12 kB / 1.056 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.3537, allocations: 16 kB / 1.056 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.355, allocations: 339.5 kB / 1.056 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.355, allocations: 23.92 kB / 1.056 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.3564, allocations: 234 kB / 1.056 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.3565, allocations: 59.98 kB / 1.056 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3566, allocations: 4 kB / 1.056 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002546/0.3591, allocations: 1.787 MB / 1.058 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3591, allocations: 8 kB / 1.058 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3592, allocations: 16 kB / 1.058 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.3604, allocations: 343.5 kB / 1.058 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/0.3604, allocations: 27.88 kB / 1.058 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3617, allocations: 191 kB / 1.059 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3618, allocations: 63.98 kB / 1.059 GB, free: 9.129 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001215/0.363, allocations: 0.7502 MB / 1.059 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.3634, allocations: 146.1 kB / 1.06 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.3654, allocations: 1.288 MB / 1.061 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.3655, allocations: 12 kB / 1.061 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3655, allocations: 3.953 kB / 1.061 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/0.3669, allocations: 1.277 MB / 1.062 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/0.3714, allocations: 2.955 MB / 1.065 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3714, allocations: 3.938 kB / 1.065 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.3722, allocations: 183.8 kB / 1.065 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.3723, allocations: 7.938 kB / 1.065 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/0.3723, allocations: 23.98 kB / 1.065 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3723, allocations: 4 kB / 1.065 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3724, allocations: 4 kB / 1.065 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.375, allocations: 1.967 MB / 1.067 GB, free: 256 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.491/0.866, allocations: 436.2 kB / 1.068 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005559/0.8666, allocations: 21.69 kB / 1.068 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/0.8676, allocations: 78.03 kB / 1.068 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.8678, allocations: 59.52 kB / 1.068 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.8679, allocations: 36.41 kB / 1.068 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00246/0.8703, allocations: 1.244 MB / 1.069 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8703, allocations: 0 / 1.069 GB, free: 86.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002906/0.8732, allocations: 0.9142 MB / 1.07 GB, free: 86.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/0.8743, allocations: 358.3 kB / 1.07 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004439/0.8788, allocations: 2.31 MB / 1.072 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.8788, allocations: 1.125 kB / 1.072 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.8799, allocations: 0.5221 MB / 1.073 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004844/0.8847, allocations: 0.854 MB / 1.074 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008261/0.893, allocations: 4.322 MB / 1.078 GB, free: 83.65 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.895, allocations: 1.702 MB / 1.08 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004251/0.8993, allocations: 0.9191 MB / 1.081 GB, free: 82.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.8999, allocations: 134.6 kB / 1.081 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of SimCode: time 1.363e-06/0.8999, allocations: 0 / 1.081 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of Templates: time 0.07217/0.972, allocations: 33.55 MB / 1.113 GB, free: 69.2 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)