Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.656/1.656, allocations: 287.5 MB / 302.6 MB, free: 8.211 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.001412/0.001412, allocations: 178.5 kB / 371.2 MB, free: 10.82 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.687/1.687, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0009506/0.0009504, allocations: 95.7 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005098, allocations: 12.23 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.263, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02188/0.2849, allocations: 26.27 MB / 1.004 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.2952, allocations: 7.334 MB / 1.011 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.2964, allocations: 27.81 kB / 1.012 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009706/0.2974, allocations: 286.1 kB / 1.012 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/0.2998, allocations: 0.8043 MB / 1.013 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.3023, allocations: 0.7767 MB / 1.013 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005019/0.3073, allocations: 5.251 MB / 1.018 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002323/0.3097, allocations: 1.79 MB / 1.02 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.312, allocations: 1.311 MB / 1.021 GB, free: 216 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.3135, allocations: 1.217 MB / 1.023 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.3137, allocations: 83.94 kB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.3161, allocations: 0.9866 MB / 1.024 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.3165, allocations: 354.5 kB / 1.024 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.317, allocations: 428.6 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.3198, allocations: 2.802 MB / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3198, allocations: 0 / 1.027 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.103e-06/0.3198, allocations: 4 kB / 1.027 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.116e-05/0.3198, allocations: 0 / 1.027 GB, free: 10.33 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.003981/0.3238, allocations: 2.129 MB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3239, allocations: 12.03 kB / 1.029 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006281/0.3245, allocations: 230.5 kB / 1.03 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.3273, allocations: 1.737 MB / 1.031 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.3274, allocations: 110.7 kB / 1.031 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000235/0.3276, allocations: 155.9 kB / 1.031 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.3306, allocations: 1.99 MB / 1.033 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.3307, allocations: 0 / 1.033 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.3308, allocations: 60 kB / 1.033 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.3309, allocations: 40 kB / 1.034 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.3335, allocations: 1.786 MB / 1.035 GB, free: 1.91 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.01062/0.3441, allocations: 7.617 MB / 1.043 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.3459, allocations: 1.448 MB / 1.044 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008661/0.3468, allocations: 0.6601 MB / 1.045 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006261/0.3531, allocations: 3.846 MB / 1.049 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.3531, allocations: 47.56 kB / 1.049 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 2.084e-06/0.3532, allocations: 0 / 1.049 GB, free: 3.633 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.002411/0.3556, allocations: 1.503 MB / 1.05 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.3556, allocations: 64.41 kB / 1.05 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.3577, allocations: 1.574 MB / 1.052 GB, free: 480 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.383e-05/0.3578, allocations: 49.7 kB / 1.052 GB, free: 424 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/0.3585, allocations: 0.7419 MB / 1.052 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.3588, allocations: 319.4 kB / 1.053 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.495e-05/0.3589, allocations: 28 kB / 1.053 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.3591, allocations: 369.8 kB / 1.053 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.3601, allocations: 0.6792 MB / 1.054 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.3613, allocations: 1.012 MB / 1.055 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.3634, allocations: 1.616 MB / 1.056 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.3634, allocations: 3.938 kB / 1.056 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002962/0.3663, allocations: 1.932 MB / 1.058 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.3666, allocations: 364.5 kB / 1.059 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3666, allocations: 8 kB / 1.059 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.3666, allocations: 16 kB / 1.059 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.3678, allocations: 339.5 kB / 1.059 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.082e-05/0.3679, allocations: 23.92 kB / 1.059 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.3693, allocations: 218 kB / 1.059 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.3694, allocations: 59.98 kB / 1.059 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.3694, allocations: 4 kB / 1.059 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002556/0.372, allocations: 1.787 MB / 1.061 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.372, allocations: 8 kB / 1.061 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.372, allocations: 16 kB / 1.061 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.3731, allocations: 332.3 kB / 1.061 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/0.3732, allocations: 23.92 kB / 1.061 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.3743, allocations: 190.5 kB / 1.061 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.3744, allocations: 59.98 kB / 1.062 GB, free: 5.898 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.001451/0.3759, allocations: 0.7502 MB / 1.062 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.3762, allocations: 150.1 kB / 1.062 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/0.3781, allocations: 1.272 MB / 1.064 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.3782, allocations: 12 kB / 1.064 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.3782, allocations: 7.984 kB / 1.064 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001511/0.3797, allocations: 1.273 MB / 1.065 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5549/0.9346, allocations: 2.923 MB / 1.068 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.9347, allocations: 4.594 kB / 1.068 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/0.9356, allocations: 183.4 kB / 1.068 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.9356, allocations: 5.344 kB / 1.068 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-05/0.9357, allocations: 23.66 kB / 1.068 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.9357, allocations: 5.281 kB / 1.068 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.9358, allocations: 6.188 kB / 1.068 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/0.9391, allocations: 1.907 MB / 1.07 GB, free: 86.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.9404, allocations: 423.4 kB / 1.07 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.9406, allocations: 20.59 kB / 1.07 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008872/0.9415, allocations: 79 kB / 1.07 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.9417, allocations: 55.83 kB / 1.07 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.9418, allocations: 37.11 kB / 1.07 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003014/0.9448, allocations: 1.178 MB / 1.072 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9448, allocations: 0 / 1.072 GB, free: 85.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004536/0.9494, allocations: 0.904 MB / 1.072 GB, free: 85.65 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.001213/0.9506, allocations: 345.4 kB / 1.073 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005703/0.9563, allocations: 2.311 MB / 1.075 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.9563, allocations: 1.312 kB / 1.075 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.9573, allocations: 0.5177 MB / 1.076 GB, free: 84.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/0.962, allocations: 0.8639 MB / 1.076 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007951/0.97, allocations: 4.339 MB / 1.081 GB, free: 82.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/0.9718, allocations: 1.661 MB / 1.082 GB, free: 81.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003529/0.9754, allocations: 0.9161 MB / 1.083 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.9758, allocations: 130.7 kB / 1.083 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/0.9758, allocations: 0 / 1.083 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of Templates: time 0.07006/1.046, allocations: 33.09 MB / 1.116 GB, free: 67.63 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)