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 2.835/2.835, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.001623/0.001623, allocations: 181 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.259/2.259, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001107/0.001107, allocations: 95.72 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005025, allocations: 11.05 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2246, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03062/0.2552, allocations: 24 MB / 1.002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.2689, allocations: 6.808 MB / 1.008 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.2703, allocations: 31.81 kB / 1.008 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00212/0.2725, allocations: 390 kB / 1.009 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004733/0.2772, allocations: 1.002 MB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005317/0.2826, allocations: 1.094 MB / 1.011 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006221/0.2888, allocations: 2.693 MB / 1.013 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003386/0.2923, allocations: 1.617 MB / 1.015 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.2958, allocations: 1.16 MB / 1.016 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.2985, allocations: 0.9372 MB / 1.017 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004877/0.299, allocations: 80 kB / 1.017 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003691/0.3027, allocations: 0.8542 MB / 1.018 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009203/0.3037, allocations: 350.7 kB / 1.018 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009349/0.3047, allocations: 420.7 kB / 1.019 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005494/0.3102, allocations: 2.747 MB / 1.021 GB, free: 136 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3102, allocations: 0 / 1.021 GB, free: 136 kB / 0.6355 GB Notification: Performance of FrontEnd: time 3.827e-06/0.3102, allocations: 0 / 1.021 GB, free: 136 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001174/0.3104, allocations: 0 / 1.021 GB, free: 136 kB / 0.6355 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.007668/0.3181, allocations: 2.132 MB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3181, allocations: 8.031 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.3197, allocations: 229.5 kB / 1.024 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005094/0.3249, allocations: 1.609 MB / 1.025 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.3251, allocations: 114.7 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005307/0.3256, allocations: 151.9 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/0.3315, allocations: 1.97 MB / 1.027 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.57e-05/0.3317, allocations: 11.92 kB / 1.027 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.3319, allocations: 56 kB / 1.027 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-05/0.332, allocations: 40 kB / 1.027 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005218/0.3372, allocations: 1.794 MB / 1.029 GB, free: 7.844 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.02124/0.3585, allocations: 7.688 MB / 1.037 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/0.3623, allocations: 1.46 MB / 1.038 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.3739, allocations: 3.87 MB / 1.042 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.374, allocations: 47.5 kB / 1.042 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 4.689e-06/0.374, allocations: 0 / 1.042 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.004395/0.3784, allocations: 1.498 MB / 1.043 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.3785, allocations: 60.41 kB / 1.043 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003716/0.3823, allocations: 1.671 MB / 1.045 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003514/0.3827, allocations: 53.64 kB / 1.045 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.3837, allocations: 0.7457 MB / 1.046 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/0.3843, allocations: 315.5 kB / 1.046 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.3844, allocations: 28 kB / 1.046 GB, free: 5.711 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002383/0.3847, allocations: 365.9 kB / 1.047 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.3866, allocations: 0.683 MB / 1.047 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.3888, allocations: 1.005 MB / 1.048 GB, free: 3.531 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/0.3912, allocations: 0.8768 MB / 1.049 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.3912, allocations: 4 kB / 1.049 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005932/0.3972, allocations: 1.94 MB / 1.051 GB, free: 0.6992 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.00171/0.399, allocations: 3.518 MB / 1.054 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.012e-05/0.399, allocations: 8 kB / 1.054 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.003e-05/0.3991, allocations: 16 kB / 1.054 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002856/0.4019, allocations: 351.5 kB / 1.055 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.28e-05/0.402, allocations: 19.92 kB / 1.055 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.4045, allocations: 221.9 kB / 1.055 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/0.4048, allocations: 67.98 kB / 1.055 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4048, allocations: 6.5 kB / 1.055 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004861/0.4097, allocations: 1.784 MB / 1.057 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/0.4097, allocations: 12.06 kB / 1.057 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/0.4098, allocations: 24.05 kB / 1.057 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/0.4125, allocations: 351.5 kB / 1.057 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.952e-05/0.4125, allocations: 19.94 kB / 1.057 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/0.4148, allocations: 186.5 kB / 1.057 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/0.415, allocations: 63.97 kB / 1.057 GB, free: 9.84 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.001697/0.4167, allocations: 0.7463 MB / 1.058 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005569/0.4173, allocations: 150.1 kB / 1.058 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.4208, allocations: 1.287 MB / 1.06 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.4209, allocations: 8 kB / 1.06 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.4209, allocations: 0 / 1.06 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002601/0.4235, allocations: 1.288 MB / 1.061 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007789/0.4313, allocations: 2.951 MB / 1.064 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.4314, allocations: 0 / 1.064 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001617/0.433, allocations: 179.8 kB / 1.064 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/0.4331, allocations: 8 kB / 1.064 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.974e-05/0.4332, allocations: 23.98 kB / 1.064 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.759e-05/0.4332, allocations: 11.88 kB / 1.064 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4332, allocations: 0 / 1.064 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/0.438, allocations: 1.967 MB / 1.066 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/0.4395, allocations: 442.7 kB / 1.066 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/0.4399, allocations: 23.98 kB / 1.066 GB, free: 500 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.4417, allocations: 89.22 kB / 1.066 GB, free: 412 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.442, allocations: 44.94 kB / 1.066 GB, free: 364 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.4421, allocations: 39.97 kB / 1.066 GB, free: 324 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.6557/1.098, allocations: 1.24 MB / 1.068 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.01e-07/1.098, allocations: 0.625 kB / 1.068 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004429/1.102, allocations: 0.9137 MB / 1.069 GB, free: 86.7 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.001304/1.104, allocations: 348 kB / 1.069 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007202/1.111, allocations: 2.309 MB / 1.071 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.111, allocations: 3.906 kB / 1.071 GB, free: 86.17 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/1.113, allocations: 0.5144 MB / 1.072 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007331/1.12, allocations: 0.8527 MB / 1.073 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.13, allocations: 4.323 MB / 1.077 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002436/1.133, allocations: 1.697 MB / 1.078 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005294/1.138, allocations: 0.9274 MB / 1.079 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009086/1.139, allocations: 133.7 kB / 1.079 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/1.139, allocations: 0 / 1.079 GB, free: 82.72 MB / 0.6823 GB Notification: Performance of Templates: time 0.09156/1.231, allocations: 33.56 MB / 1.112 GB, free: 70.08 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)