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.586/1.586, allocations: 288.4 MB / 304.3 MB, free: 8.094 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.0008954/0.0008954, allocations: 187.2 kB / 372.9 MB, free: 10.14 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.335/1.335, allocations: 205.4 MB / 0.6316 GB, free: 9.883 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.0007539/0.0007539, allocations: 105.1 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 16.34 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1674, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01717/0.1846, allocations: 26.27 MB / 1.006 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009003/0.1936, allocations: 7.331 MB / 1.014 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009826/0.1946, allocations: 27.81 kB / 1.014 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000867/0.1955, allocations: 290.1 kB / 1.014 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.1977, allocations: 0.8522 MB / 1.015 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1999, allocations: 0.7895 MB / 1.015 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0045/0.2044, allocations: 5.25 MB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.2065, allocations: 1.79 MB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.2084, allocations: 1.323 MB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.2097, allocations: 1.221 MB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.2099, allocations: 83.94 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.2118, allocations: 1.092 MB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000308/0.2121, allocations: 358.4 kB / 1.026 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008865/0.213, allocations: 0.9349 MB / 1.027 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002481/0.2155, allocations: 2.837 MB / 1.03 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2155, allocations: 0 / 1.03 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2156, allocations: 8 kB / 1.03 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.087e-05/0.2156, allocations: 0 / 1.03 GB, free: 8.727 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.0036/0.2192, allocations: 2.121 MB / 1.032 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2192, allocations: 16.03 kB / 1.032 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006197/0.2199, allocations: 226.5 kB / 1.032 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.2223, allocations: 1.74 MB / 1.034 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.009e-05/0.2224, allocations: 114.7 kB / 1.034 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.2226, allocations: 155.9 kB / 1.034 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002714/0.2254, allocations: 1.986 MB / 1.036 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.2254, allocations: 4 kB / 1.036 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.2255, allocations: 56 kB / 1.036 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.2256, allocations: 39.98 kB / 1.036 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.2281, allocations: 1.79 MB / 1.038 GB, free: 316 kB / 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.009953/0.238, allocations: 7.613 MB / 1.045 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.2398, allocations: 1.444 MB / 1.047 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008472/0.2407, allocations: 0.664 MB / 1.048 GB, free: 6.258 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006/0.2467, allocations: 3.85 MB / 1.051 GB, free: 2.086 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.2468, allocations: 39.56 kB / 1.051 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 2.986e-06/0.2468, allocations: 1.203 kB / 1.051 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.002284/0.2491, allocations: 1.506 MB / 1.053 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.2491, allocations: 60.41 kB / 1.053 GB, free: 472 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.2512, allocations: 1.574 MB / 1.054 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.983e-05/0.2513, allocations: 45.7 kB / 1.054 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.2518, allocations: 0.7496 MB / 1.055 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.2521, allocations: 319.4 kB / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.2522, allocations: 28 kB / 1.056 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.2524, allocations: 365.9 kB / 1.056 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009881/0.2534, allocations: 0.6753 MB / 1.057 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.2546, allocations: 1.016 MB / 1.058 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.2566, allocations: 1.624 MB / 1.059 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.2566, allocations: 0 / 1.059 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003011/0.2596, allocations: 1.936 MB / 1.061 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.2599, allocations: 360.9 kB / 1.061 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.2599, allocations: 8 kB / 1.061 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.008e-05/0.2599, allocations: 20 kB / 1.061 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.2612, allocations: 335.5 kB / 1.062 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.01e-05/0.2613, allocations: 23.92 kB / 1.062 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.2625, allocations: 218 kB / 1.062 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.2627, allocations: 59.98 kB / 1.062 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.2627, allocations: 4 kB / 1.062 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002515/0.2652, allocations: 1.788 MB / 1.064 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.2652, allocations: 12.25 kB / 1.064 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2653, allocations: 16 kB / 1.064 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.2664, allocations: 335.5 kB / 1.064 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.2664, allocations: 19.94 kB / 1.064 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.2676, allocations: 186.5 kB / 1.064 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.2677, allocations: 59.98 kB / 1.064 GB, free: 4.301 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.001058/0.2688, allocations: 0.7463 MB / 1.065 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.2691, allocations: 150.1 kB / 1.065 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.271, allocations: 1.274 MB / 1.066 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001418/0.2725, allocations: 1.273 MB / 1.068 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2725, allocations: 0 / 1.068 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006584/0.2732, allocations: 422.8 kB / 1.068 GB, free: 316 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.2733, allocations: 20.06 kB / 1.068 GB, free: 296 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.2741, allocations: 67.83 kB / 1.068 GB, free: 228 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.2742, allocations: 52.88 kB / 1.068 GB, free: 176 kB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3275/0.6016, allocations: 1.247 MB / 1.069 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002605/0.6043, allocations: 2.011 MB / 1.071 GB, free: 86.51 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006351/0.6049, allocations: 0.518 MB / 1.072 GB, free: 86.32 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001659/0.6066, allocations: 1.111 MB / 1.073 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of Backend: time 3.91e-07/0.6066, allocations: 0 / 1.073 GB, free: 85.91 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004889/0.6115, allocations: 2.299 MB / 1.075 GB, free: 85.28 MB / 0.6823 GB Notification: Performance of SimCode: time 0.007713/0.6192, allocations: 5.004 MB / 1.08 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of Templates: time 0.0565/0.6757, allocations: 38.96 MB / 1.118 GB, free: 65.69 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)