Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.781/1.781, allocations: 291.7 MB / 306.8 MB, free: 7.715 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 188.2 kB / 375.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.7 MB / 0.6538 GB, free: 13.69 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008292, allocations: 103.7 kB / 0.7699 GB, free: 50.37 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004226, allocations: 8 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7288, allocations: 118.1 MB / 1.011 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02554/0.7544, allocations: 26.28 MB / 1.037 GB, free: 46.74 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.009758/0.7642, allocations: 7.325 MB / 1.044 GB, free: 41.53 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.7656, allocations: 29.84 kB / 1.044 GB, free: 41.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.7666, allocations: 287.3 kB / 1.044 GB, free: 41.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.7695, allocations: 0.8067 MB / 1.045 GB, free: 40.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.7722, allocations: 0.768 MB / 1.046 GB, free: 40.53 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006261/0.7785, allocations: 5.257 MB / 1.051 GB, free: 38.33 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.7815, allocations: 1.784 MB / 1.052 GB, free: 37.74 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.7855, allocations: 1.308 MB / 1.054 GB, free: 37.24 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.7886, allocations: 1.229 MB / 1.055 GB, free: 36.73 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.7889, allocations: 81.47 kB / 1.055 GB, free: 36.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003579/0.7925, allocations: 0.9857 MB / 1.056 GB, free: 36.46 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005831/0.7931, allocations: 358.8 kB / 1.056 GB, free: 36.29 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.7942, allocations: 415.9 kB / 1.057 GB, free: 36.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00473/0.7989, allocations: 2.814 MB / 1.059 GB, free: 35.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.799, allocations: 0 / 1.059 GB, free: 35.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/0.799, allocations: 0 / 1.059 GB, free: 35.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001106/0.7991, allocations: 0 / 1.059 GB, free: 35.48 MB / 0.7136 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.005276/0.8044, allocations: 2.13 MB / 1.062 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.8044, allocations: 10.09 kB / 1.062 GB, free: 34.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.8053, allocations: 230.9 kB / 1.062 GB, free: 34.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.8083, allocations: 1.742 MB / 1.063 GB, free: 33.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.8084, allocations: 112.8 kB / 1.064 GB, free: 33.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.8086, allocations: 156.6 kB / 1.064 GB, free: 33.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/0.8122, allocations: 1.979 MB / 1.066 GB, free: 32.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/0.8123, allocations: 6.688 kB / 1.066 GB, free: 32.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.8124, allocations: 57.5 kB / 1.066 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.026e-05/0.8125, allocations: 40.5 kB / 1.066 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002819/0.8153, allocations: 1.788 MB / 1.067 GB, free: 31.68 MB / 0.7136 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.01113/0.8265, allocations: 7.623 MB / 1.075 GB, free: 27.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.8283, allocations: 1.432 MB / 1.076 GB, free: 26.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/0.829, allocations: 0.655 MB / 1.077 GB, free: 26.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006309/0.8354, allocations: 3.842 MB / 1.081 GB, free: 23.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.8354, allocations: 50.03 kB / 1.081 GB, free: 23.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=88): time 2.986e-06/0.8355, allocations: 0 / 1.081 GB, free: 23.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=88): time 0.002366/0.8378, allocations: 1.501 MB / 1.082 GB, free: 23.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8379, allocations: 66.28 kB / 1.082 GB, free: 23.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/0.8399, allocations: 1.574 MB / 1.084 GB, free: 22.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.8401, allocations: 48.14 kB / 1.084 GB, free: 22.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.8406, allocations: 0.7514 MB / 1.085 GB, free: 22.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002693/0.8409, allocations: 311.3 kB / 1.085 GB, free: 21.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.8409, allocations: 27.12 kB / 1.085 GB, free: 21.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.841, allocations: 374 kB / 1.085 GB, free: 21.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009107/0.842, allocations: 0.6748 MB / 1.086 GB, free: 21.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.843, allocations: 1.021 MB / 1.087 GB, free: 20.59 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.8448, allocations: 1.613 MB / 1.089 GB, free: 19.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.8449, allocations: 2.969 kB / 1.089 GB, free: 19.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00287/0.8477, allocations: 1.935 MB / 1.09 GB, free: 18.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.8479, allocations: 361.2 kB / 1.091 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.848, allocations: 9.5 kB / 1.091 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.848, allocations: 17.06 kB / 1.091 GB, free: 18.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.8492, allocations: 337.7 kB / 1.091 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.391e-05/0.8492, allocations: 23.23 kB / 1.091 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.8506, allocations: 216.7 kB / 1.091 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.8507, allocations: 59.81 kB / 1.091 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.8507, allocations: 6.344 kB / 1.091 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002258/0.853, allocations: 1.784 MB / 1.093 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.853, allocations: 9.062 kB / 1.093 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.853, allocations: 15.75 kB / 1.093 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8541, allocations: 335.4 kB / 1.093 GB, free: 17.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.8541, allocations: 19.91 kB / 1.094 GB, free: 17.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.8554, allocations: 187.8 kB / 1.094 GB, free: 17.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.8555, allocations: 61.98 kB / 1.094 GB, free: 17.59 MB / 0.7136 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.001245/0.8567, allocations: 0.7533 MB / 1.094 GB, free: 17.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.857, allocations: 152.7 kB / 1.095 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.8588, allocations: 1.274 MB / 1.096 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.8589, allocations: 8.969 kB / 1.096 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.8589, allocations: 4 kB / 1.096 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/0.8602, allocations: 1.279 MB / 1.097 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.8643, allocations: 2.927 MB / 1.1 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.8643, allocations: 3.719 kB / 1.1 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007248/0.865, allocations: 178.5 kB / 1.1 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.865, allocations: 10.28 kB / 1.1 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.8651, allocations: 21.59 kB / 1.1 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-06/0.8651, allocations: 6.188 kB / 1.1 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8651, allocations: 3.938 kB / 1.1 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.8674, allocations: 1.907 MB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000725/0.8681, allocations: 423.5 kB / 1.102 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.8683, allocations: 26.34 kB / 1.102 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/0.8691, allocations: 79.03 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/0.8692, allocations: 54.81 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.8693, allocations: 35.94 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001486/0.8707, allocations: 1.179 MB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8708, allocations: 0 / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00251/0.8733, allocations: 0.905 MB / 1.105 GB, free: 12.74 MB / 0.7136 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.0007794/0.8741, allocations: 365.6 kB / 1.105 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003124/0.8772, allocations: 2.307 MB / 1.107 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.8772, allocations: 4.188 kB / 1.107 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005947/0.8778, allocations: 0.5182 MB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/0.8819, allocations: 0.8569 MB / 1.109 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008103/0.89, allocations: 4.346 MB / 1.113 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.8916, allocations: 1.664 MB / 1.115 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003701/0.8953, allocations: 0.9149 MB / 1.115 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.8957, allocations: 128.5 kB / 1.116 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/0.8958, allocations: 0 / 1.116 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of Templates: time 0.0699/0.9657, allocations: 33.1 MB / 1.148 GB, free: 14.01 MB / 0.7292 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)