Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 174.5 kB / 327.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008689/0.0008689, allocations: 94.3 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 13.2 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2032, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.01958/0.2229, allocations: 27.75 MB / 0.9285 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008679/0.2316, allocations: 7.805 MB / 0.9362 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.2329, allocations: 31.75 kB / 0.9362 GB, free: 27.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009232/0.2338, allocations: 322.1 kB / 0.9365 GB, free: 27.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.2361, allocations: 0.9292 MB / 0.9374 GB, free: 26.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.2383, allocations: 0.9087 MB / 0.9383 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004319/0.2427, allocations: 6.042 MB / 0.9442 GB, free: 19.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.2446, allocations: 1.775 MB / 0.9459 GB, free: 17.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.2468, allocations: 1.346 MB / 0.9472 GB, free: 16.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.2482, allocations: 1.295 MB / 0.9485 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.2483, allocations: 76 kB / 0.9486 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.2504, allocations: 1.135 MB / 0.9497 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.2507, allocations: 374.3 kB / 0.95 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.2517, allocations: 0.9617 MB / 0.951 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.2541, allocations: 2.818 MB / 0.9537 GB, free: 9.766 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2542, allocations: 7.984 kB / 0.9537 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2542, allocations: 0 / 0.9537 GB, free: 9.758 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.171e-05/0.2542, allocations: 4 kB / 0.9537 GB, free: 9.754 MB / 0.6042 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.00345/0.2577, allocations: 2.117 MB / 0.9558 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2577, allocations: 8.031 kB / 0.9558 GB, free: 7.574 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00062/0.2583, allocations: 234.5 kB / 0.956 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002208/0.2606, allocations: 1.742 MB / 0.9577 GB, free: 5.551 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.233e-05/0.2606, allocations: 114.7 kB / 0.9579 GB, free: 5.438 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.2608, allocations: 156 kB / 0.958 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.2633, allocations: 1.982 MB / 0.9599 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.2634, allocations: 3.906 kB / 0.9599 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.2635, allocations: 67.94 kB / 0.96 GB, free: 3.168 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.402e-05/0.2635, allocations: 39.98 kB / 0.96 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.2659, allocations: 1.79 MB / 0.9618 GB, free: 1.332 MB / 0.6042 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.01083/0.2767, allocations: 7.594 MB / 0.9692 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.2785, allocations: 1.445 MB / 0.9706 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008293/0.2794, allocations: 0.6606 MB / 0.9713 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006189/0.2856, allocations: 3.835 MB / 0.975 GB, free: 3.141 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/0.2856, allocations: 43.56 kB / 0.9751 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 2.585e-06/0.2857, allocations: 0 / 0.9751 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.00236/0.288, allocations: 1.514 MB / 0.9765 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2881, allocations: 60.41 kB / 0.9766 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.2902, allocations: 1.582 MB / 0.9781 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/0.2903, allocations: 49.7 kB / 0.9782 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/0.2909, allocations: 0.7534 MB / 0.9789 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.2912, allocations: 311.6 kB / 0.9792 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.2912, allocations: 28 kB / 0.9792 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.2914, allocations: 365.9 kB / 0.9796 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009497/0.2924, allocations: 0.6792 MB / 0.9803 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.2935, allocations: 1.024 MB / 0.9813 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.2955, allocations: 1.624 MB / 0.9828 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.2955, allocations: 11.92 kB / 0.9828 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00296/0.2985, allocations: 1.944 MB / 0.9847 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.2988, allocations: 360.8 kB / 0.9851 GB, free: 8.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.2988, allocations: 8 kB / 0.9851 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.2988, allocations: 16 kB / 0.9851 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.3, allocations: 339.4 kB / 0.9854 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/0.3001, allocations: 19.94 kB / 0.9855 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.3014, allocations: 222 kB / 0.9857 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.3015, allocations: 63.98 kB / 0.9857 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.3015, allocations: 14.84 kB / 0.9857 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002521/0.3041, allocations: 1.788 MB / 0.9875 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.3041, allocations: 12 kB / 0.9875 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3041, allocations: 16.12 kB / 0.9875 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.3053, allocations: 339.4 kB / 0.9878 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/0.3053, allocations: 23.92 kB / 0.9879 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.3066, allocations: 186.6 kB / 0.988 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.3067, allocations: 55.98 kB / 0.9881 GB, free: 5.289 MB / 0.6355 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001169/0.3079, allocations: 0.7502 MB / 0.9888 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.3082, allocations: 150.2 kB / 0.989 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.3101, allocations: 1.279 MB / 0.9902 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3101, allocations: 8 kB / 0.9902 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3101, allocations: 0 / 0.9902 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001455/0.3116, allocations: 1.292 MB / 0.9915 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.3157, allocations: 2.916 MB / 0.9943 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3157, allocations: 7.875 kB / 0.9943 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.3165, allocations: 187.8 kB / 0.9945 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.3165, allocations: 8 kB / 0.9945 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.3166, allocations: 23.98 kB / 0.9946 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/0.3166, allocations: 12.05 kB / 0.9946 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.3166, allocations: 0 / 0.9946 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.319, allocations: 1.917 MB / 0.9964 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/0.3197, allocations: 418.8 kB / 0.9968 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.3199, allocations: 20 kB / 0.9969 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008173/0.3207, allocations: 75.77 kB / 0.9969 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3209, allocations: 56.86 kB / 0.997 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.3209, allocations: 35.98 kB / 0.997 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001564/0.3225, allocations: 1.194 MB / 0.9982 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3225, allocations: 0 / 0.9982 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0022/0.3247, allocations: 0.8967 MB / 0.9991 GB, free: 9.816 MB / 0.6511 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007889/0.3255, allocations: 359.2 kB / 0.9994 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.3289, allocations: 2.325 MB / 1.002 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3289, allocations: 384 / 1.002 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006645/0.3296, allocations: 0.5209 MB / 1.002 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/0.3335, allocations: 0.8672 MB / 1.003 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005684/0.3392, allocations: 4.356 MB / 1.007 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.3404, allocations: 1.626 MB / 1.009 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000629/0.341, allocations: 151.3 kB / 1.009 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of SimCode: time 6.61e-07/0.3411, allocations: 4 kB / 1.009 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of Templates: time 0.04563/0.3867, allocations: 31.78 MB / 1.04 GB, free: 15.91 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)