Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.001466/0.001466, allocations: 188.5 kB / 376.9 MB, free: 1.793 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.604/1.604, allocations: 205 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 98.77 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3019, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03428/0.3363, allocations: 28.45 MB / 1.01 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.3489, allocations: 7.923 MB / 1.018 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.3505, allocations: 35.75 kB / 1.018 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.3518, allocations: 334 kB / 1.018 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.3546, allocations: 0.9215 MB / 1.019 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.3575, allocations: 0.9277 MB / 1.02 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.5921/0.9496, allocations: 6.087 MB / 1.026 GB, free: 64.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/0.9524, allocations: 1.849 MB / 1.028 GB, free: 64.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.9553, allocations: 1.403 MB / 1.029 GB, free: 64.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.9571, allocations: 1.373 MB / 1.03 GB, free: 64.04 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.9574, allocations: 103.4 kB / 1.03 GB, free: 64.04 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.9603, allocations: 1.162 MB / 1.032 GB, free: 64.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005246/0.9608, allocations: 413.2 kB / 1.032 GB, free: 63.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002018/0.9628, allocations: 1.009 MB / 1.033 GB, free: 63.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005938/0.9688, allocations: 3.526 MB / 1.036 GB, free: 63.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9688, allocations: 0 / 1.036 GB, free: 63.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9688, allocations: 0 / 1.036 GB, free: 63.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.905e-05/0.9689, allocations: 0.8438 kB / 1.036 GB, free: 63.35 MB / 0.7448 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.007167/0.9761, allocations: 2.545 MB / 1.039 GB, free: 62.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.9762, allocations: 9.75 kB / 1.039 GB, free: 62.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/0.9771, allocations: 228.7 kB / 1.039 GB, free: 62.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003832/0.981, allocations: 1.741 MB / 1.041 GB, free: 61.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.9811, allocations: 115.9 kB / 1.041 GB, free: 61.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/0.9815, allocations: 149.9 kB / 1.041 GB, free: 61.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/0.9858, allocations: 1.998 MB / 1.043 GB, free: 61.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/0.9859, allocations: 10.06 kB / 1.043 GB, free: 61.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.9861, allocations: 58.06 kB / 1.043 GB, free: 61.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-05/0.9862, allocations: 37.91 kB / 1.043 GB, free: 61.56 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003508/0.9897, allocations: 1.799 MB / 1.045 GB, free: 61.54 MB / 0.7448 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.01219/1.002, allocations: 7.577 MB / 1.052 GB, free: 58.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/1.004, allocations: 1.45 MB / 1.054 GB, free: 58.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000856/1.005, allocations: 0.6704 MB / 1.054 GB, free: 58.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006389/1.011, allocations: 3.83 MB / 1.058 GB, free: 56.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.011, allocations: 43.69 kB / 1.058 GB, free: 56.9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=88): time 2.835e-06/1.011, allocations: 4 kB / 1.058 GB, free: 56.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88): time 0.002327/1.013, allocations: 1.512 MB / 1.06 GB, free: 56.78 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.013, allocations: 61.72 kB / 1.06 GB, free: 56.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/1.016, allocations: 1.583 MB / 1.061 GB, free: 56.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/1.016, allocations: 53.92 kB / 1.061 GB, free: 56.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/1.016, allocations: 0.7458 MB / 1.062 GB, free: 55.97 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/1.016, allocations: 317.3 kB / 1.062 GB, free: 55.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/1.017, allocations: 293.5 kB / 1.063 GB, free: 55.6 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.017, allocations: 366.4 kB / 1.063 GB, free: 55.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009384/1.018, allocations: 0.6951 MB / 1.064 GB, free: 55.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/1.019, allocations: 1.021 MB / 1.065 GB, free: 54.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/1.021, allocations: 1.621 MB / 1.066 GB, free: 53.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/1.021, allocations: 4.781 kB / 1.066 GB, free: 53.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002815/1.024, allocations: 1.951 MB / 1.068 GB, free: 52.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/1.024, allocations: 9.062 kB / 1.068 GB, free: 52.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.024, allocations: 8.875 kB / 1.068 GB, free: 52.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-05/1.024, allocations: 18.06 kB / 1.068 GB, free: 52.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/1.025, allocations: 336 kB / 1.068 GB, free: 52.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/1.025, allocations: 18.28 kB / 1.068 GB, free: 52.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/1.027, allocations: 219.1 kB / 1.069 GB, free: 52.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.027, allocations: 59.16 kB / 1.069 GB, free: 52.77 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001989/1.029, allocations: 1.279 MB / 1.07 GB, free: 52.28 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001071/1.03, allocations: 1.018 MB / 1.071 GB, free: 51.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001778/1.032, allocations: 1.62 MB / 1.073 GB, free: 50.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.283e-06/1.032, allocations: 3.281 kB / 1.073 GB, free: 50.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002948/1.035, allocations: 1.955 MB / 1.074 GB, free: 50.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.035, allocations: 9.156 kB / 1.074 GB, free: 50.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.035, allocations: 9.344 kB / 1.075 GB, free: 50.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/1.035, allocations: 15 kB / 1.075 GB, free: 50.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.036, allocations: 330.5 kB / 1.075 GB, free: 50.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.699e-05/1.036, allocations: 25.27 kB / 1.075 GB, free: 50.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/1.037, allocations: 167 kB / 1.075 GB, free: 50.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/1.038, allocations: 62.61 kB / 1.075 GB, free: 50.07 MB / 0.7448 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.0004813/1.038, allocations: 266.5 kB / 1.075 GB, free: 49.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/1.038, allocations: 147.6 kB / 1.075 GB, free: 49.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/1.041, allocations: 1.278 MB / 1.077 GB, free: 49.28 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/1.041, allocations: 18.58 kB / 1.077 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.041, allocations: 0 / 1.077 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001271/1.042, allocations: 1.283 MB / 1.078 GB, free: 48.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00484/1.047, allocations: 2.926 MB / 1.081 GB, free: 47.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.047, allocations: 3.938 kB / 1.081 GB, free: 47.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/1.048, allocations: 191.7 kB / 1.081 GB, free: 47.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/1.048, allocations: 6.375 kB / 1.081 GB, free: 47.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/1.048, allocations: 24.28 kB / 1.081 GB, free: 47.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/1.048, allocations: 6.531 kB / 1.081 GB, free: 47.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.048, allocations: 3.656 kB / 1.081 GB, free: 47.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03798/1.086, allocations: 13.66 MB / 1.094 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.087, allocations: 395 kB / 1.095 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005017/1.087, allocations: 25.14 kB / 1.095 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/1.089, allocations: 74.97 kB / 1.095 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/1.089, allocations: 57.73 kB / 1.095 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.089, allocations: 38 kB / 1.095 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002051/1.091, allocations: 1.193 MB / 1.096 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.01e-07/1.091, allocations: 0 / 1.096 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005793/1.097, allocations: 1.419 MB / 1.098 GB, free: 40.25 MB / 0.7448 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.00119/1.098, allocations: 359.9 kB / 1.098 GB, free: 40.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003862/1.102, allocations: 2.318 MB / 1.1 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.102, allocations: 0 / 1.1 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007095/1.103, allocations: 0.5224 MB / 1.101 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/1.107, allocations: 0.8627 MB / 1.101 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008073/1.115, allocations: 4.925 MB / 1.106 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/1.117, allocations: 1.695 MB / 1.108 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004156/1.121, allocations: 0.9846 MB / 1.109 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.122, allocations: 145.7 kB / 1.109 GB, free: 35.33 MB / 0.7448 GB Notification: Performance of SimCode: time 1.282e-06/1.122, allocations: 7.25 kB / 1.109 GB, free: 35.33 MB / 0.7448 GB Notification: Performance of Templates: time 0.09042/1.213, allocations: 42.34 MB / 1.15 GB, free: 26.08 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)