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.363/1.363, allocations: 252 MB / 267.6 MB, free: 10.94 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.001136/0.001136, allocations: 185.8 kB / 327.3 MB, free: 2.195 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.723/1.723, allocations: 205.4 MB / 0.5783 GB, free: 20.5 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.000713/0.0007132, allocations: 84.05 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 8.594 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2329, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02003/0.253, allocations: 26.27 MB / 0.9265 GB, free: 37.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009064/0.2622, allocations: 7.313 MB / 0.9336 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.2635, allocations: 31.75 kB / 0.9337 GB, free: 30.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009527/0.2645, allocations: 290.1 kB / 0.9339 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.2667, allocations: 0.7965 MB / 0.9347 GB, free: 29.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.2691, allocations: 0.7614 MB / 0.9355 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003829/0.2729, allocations: 5.215 MB / 0.9406 GB, free: 23.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001709/0.2746, allocations: 1.597 MB / 0.9421 GB, free: 21.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.2767, allocations: 1.303 MB / 0.9434 GB, free: 20.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.278, allocations: 1.229 MB / 0.9446 GB, free: 19.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.2782, allocations: 80 kB / 0.9447 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.2802, allocations: 0.9827 MB / 0.9456 GB, free: 18.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.2805, allocations: 350.5 kB / 0.946 GB, free: 17.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004709/0.2809, allocations: 420.7 kB / 0.9464 GB, free: 17.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.2832, allocations: 2.783 MB / 0.9491 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.2832, allocations: 4 kB / 0.9491 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2832, allocations: 3.938 kB / 0.9491 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.556e-05/0.2833, allocations: 0 / 0.9491 GB, free: 14.69 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.003604/0.2869, allocations: 2.137 MB / 0.9512 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2869, allocations: 16.03 kB / 0.9512 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006001/0.2875, allocations: 233.5 kB / 0.9514 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.2898, allocations: 1.69 MB / 0.9531 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.2899, allocations: 114.7 kB / 0.9532 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.2901, allocations: 151.9 kB / 0.9533 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.2927, allocations: 1.966 MB / 0.9552 GB, free: 8.219 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.2927, allocations: 7.938 kB / 0.9552 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.2928, allocations: 56 kB / 0.9553 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.2929, allocations: 39.98 kB / 0.9553 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.2951, allocations: 1.79 MB / 0.9571 GB, free: 6.32 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.009321/0.3044, allocations: 7.586 MB / 0.9645 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.3063, allocations: 1.441 MB / 0.9659 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008575/0.3071, allocations: 0.6695 MB / 0.9665 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006318/0.3135, allocations: 3.834 MB / 0.9703 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.3135, allocations: 43.56 kB / 0.9703 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=88): time 2.555e-06/0.3135, allocations: 0 / 0.9703 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88): time 0.002352/0.3159, allocations: 1.494 MB / 0.9718 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.316, allocations: 68.34 kB / 0.9719 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.3181, allocations: 1.578 MB / 0.9734 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.9e-05/0.3181, allocations: 45.7 kB / 0.9734 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/0.3188, allocations: 0.7535 MB / 0.9742 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.3191, allocations: 315.5 kB / 0.9745 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.3192, allocations: 28 kB / 0.9745 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3193, allocations: 365.9 kB / 0.9749 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009754/0.3203, allocations: 0.6792 MB / 0.9755 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.3216, allocations: 1.012 MB / 0.9765 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.3228, allocations: 0.8689 MB / 0.9774 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.3228, allocations: 4 kB / 0.9774 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002969/0.3258, allocations: 1.936 MB / 0.9792 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002932/0.3261, allocations: 356.9 kB / 0.9796 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.3261, allocations: 8 kB / 0.9796 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-05/0.3262, allocations: 27.98 kB / 0.9796 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3274, allocations: 335.5 kB / 0.9799 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.742e-05/0.3275, allocations: 23.92 kB / 0.98 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.3289, allocations: 222.1 kB / 0.9802 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.329, allocations: 63.98 kB / 0.9802 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3291, allocations: 4 kB / 0.9802 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002693/0.3318, allocations: 1.784 MB / 0.982 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.3318, allocations: 12.12 kB / 0.982 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.3318, allocations: 24 kB / 0.982 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.333, allocations: 335.5 kB / 0.9823 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.813e-05/0.3331, allocations: 15.94 kB / 0.9824 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.3343, allocations: 186.5 kB / 0.9825 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.3345, allocations: 63.92 kB / 0.9826 GB, free: 11.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001206/0.3357, allocations: 0.7502 MB / 0.9833 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/0.3361, allocations: 154.1 kB / 0.9835 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.3381, allocations: 1.276 MB / 0.9847 GB, free: 9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.3382, allocations: 8 kB / 0.9847 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.3382, allocations: 0 / 0.9847 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001465/0.3397, allocations: 1.284 MB / 0.986 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004882/0.3446, allocations: 2.908 MB / 0.9888 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.3446, allocations: 4 kB / 0.9888 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.3454, allocations: 187.7 kB / 0.989 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/0.3455, allocations: 7.984 kB / 0.989 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.055e-05/0.3455, allocations: 20 kB / 0.989 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.3456, allocations: 7.938 kB / 0.989 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3456, allocations: 4 kB / 0.989 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.3485, allocations: 1.909 MB / 0.9909 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009854/0.3495, allocations: 414.8 kB / 0.9913 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/0.3499, allocations: 23.98 kB / 0.9913 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.351, allocations: 81.14 kB / 0.9914 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3511, allocations: 48.92 kB / 0.9914 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.362e-05/0.3512, allocations: 35.98 kB / 0.9915 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002185/0.3534, allocations: 1.178 MB / 0.9926 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3534, allocations: 0 / 0.9926 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003265/0.3567, allocations: 0.9007 MB / 0.9935 GB, free: 15.78 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 (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.001/0.3577, allocations: 346.8 kB / 0.9938 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00401/0.3617, allocations: 2.309 MB / 0.9961 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.3617, allocations: 5 kB / 0.9961 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007689/0.3625, allocations: 0.5171 MB / 0.9966 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00478/0.3673, allocations: 0.8711 MB / 0.9975 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007622/0.3749, allocations: 4.315 MB / 1.002 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.3766, allocations: 1.626 MB / 1.003 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007595/0.3774, allocations: 151.3 kB / 1.003 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/0.3774, allocations: 0 / 1.003 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of Templates: time 0.05496/0.4323, allocations: 31.75 MB / 1.034 GB, free: 5.973 MB / 0.6823 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)