Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001309/0.00131, allocations: 186 kB / 382.3 MB, free: 14.83 MB / 314.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.467/1.467, allocations: 225.7 MB / 0.6617 GB, free: 7.254 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.0008216/0.0008216, allocations: 95.34 kB / 0.7789 GB, free: 46.67 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005143, allocations: 9.031 kB / 0.9058 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7609, allocations: 119.2 MB / 1.022 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02361/0.7846, allocations: 28.21 MB / 1.05 GB, free: 37 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.7959, allocations: 11.17 MB / 1.061 GB, free: 27.28 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.7976, allocations: 28.28 kB / 1.061 GB, free: 27.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.7988, allocations: 327.4 kB / 1.061 GB, free: 27.08 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.8016, allocations: 0.9207 MB / 1.062 GB, free: 26.54 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002837/0.8045, allocations: 0.9321 MB / 1.063 GB, free: 26.03 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005273/0.8098, allocations: 6.065 MB / 1.069 GB, free: 23.72 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.812, allocations: 1.778 MB / 1.071 GB, free: 23.09 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.8144, allocations: 1.364 MB / 1.072 GB, free: 22.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.8161, allocations: 1.288 MB / 1.073 GB, free: 22 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.8163, allocations: 80.66 kB / 1.073 GB, free: 22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.8187, allocations: 1.099 MB / 1.074 GB, free: 21.69 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000341/0.819, allocations: 364.2 kB / 1.075 GB, free: 21.5 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.8202, allocations: 0.9774 MB / 1.076 GB, free: 20.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/0.824, allocations: 3.453 MB / 1.079 GB, free: 20.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.824, allocations: 0 / 1.079 GB, free: 20.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.562e-06/0.824, allocations: 0 / 1.079 GB, free: 20.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.074e-05/0.8241, allocations: 4 kB / 1.079 GB, free: 20.02 MB / 0.698 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.004165/0.8283, allocations: 2.123 MB / 1.081 GB, free: 18.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.8283, allocations: 9.25 kB / 1.081 GB, free: 18.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000694/0.829, allocations: 233.9 kB / 1.081 GB, free: 18.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.8315, allocations: 1.74 MB / 1.083 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.8316, allocations: 117.3 kB / 1.083 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.8318, allocations: 154.7 kB / 1.083 GB, free: 17.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002957/0.8348, allocations: 1.987 MB / 1.085 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.8348, allocations: 3.062 kB / 1.085 GB, free: 16.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.835, allocations: 58.72 kB / 1.085 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-05/0.835, allocations: 39.52 kB / 1.085 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.8374, allocations: 1.786 MB / 1.087 GB, free: 16.22 MB / 0.698 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.009495/0.8469, allocations: 7.61 MB / 1.094 GB, free: 11.81 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.8484, allocations: 1.443 MB / 1.096 GB, free: 11.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007088/0.8491, allocations: 0.6556 MB / 1.096 GB, free: 10.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005481/0.8546, allocations: 3.847 MB / 1.1 GB, free: 8.434 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.8547, allocations: 46.72 kB / 1.1 GB, free: 8.383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 3.236e-06/0.8547, allocations: 0 / 1.1 GB, free: 8.383 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.002224/0.8569, allocations: 1.506 MB / 1.102 GB, free: 7.828 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.857, allocations: 61.09 kB / 1.102 GB, free: 7.766 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.8601, allocations: 1.574 MB / 1.103 GB, free: 7.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004767/0.8606, allocations: 48.02 kB / 1.103 GB, free: 7.133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008305/0.8615, allocations: 0.747 MB / 1.104 GB, free: 6.551 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005441/0.862, allocations: 319.9 kB / 1.104 GB, free: 6.301 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/0.8621, allocations: 26.06 kB / 1.104 GB, free: 6.281 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8623, allocations: 368.8 kB / 1.105 GB, free: 5.949 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.8637, allocations: 0.676 MB / 1.105 GB, free: 5.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.8653, allocations: 1.013 MB / 1.106 GB, free: 5.121 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.8677, allocations: 1.618 MB / 1.108 GB, free: 4.238 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.8677, allocations: 1.969 kB / 1.108 GB, free: 4.238 MB / 0.698 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003663/0.8714, allocations: 1.938 MB / 1.11 GB, free: 3.512 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.8716, allocations: 355.1 kB / 1.11 GB, free: 3.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.702e-05/0.8716, allocations: 8.438 kB / 1.11 GB, free: 3.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.853e-05/0.8717, allocations: 16.28 kB / 1.11 GB, free: 3.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.873, allocations: 335.4 kB / 1.111 GB, free: 3.031 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-05/0.8731, allocations: 22.3 kB / 1.111 GB, free: 3.027 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.8748, allocations: 223.2 kB / 1.111 GB, free: 2.906 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.875, allocations: 61.53 kB / 1.111 GB, free: 2.895 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.875, allocations: 3.625 kB / 1.111 GB, free: 2.895 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002595/0.8776, allocations: 1.78 MB / 1.113 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.8776, allocations: 8.594 kB / 1.113 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.8776, allocations: 21.45 kB / 1.113 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/0.8788, allocations: 335.7 kB / 1.113 GB, free: 2.219 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.401e-05/0.8788, allocations: 22.22 kB / 1.113 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.8802, allocations: 189.1 kB / 1.113 GB, free: 2.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.8804, allocations: 56.64 kB / 1.113 GB, free: 2.113 MB / 0.698 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.001324/0.8817, allocations: 0.7544 MB / 1.114 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/0.8821, allocations: 153 kB / 1.114 GB, free: 1.605 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.8841, allocations: 1.275 MB / 1.115 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.8841, allocations: 9.219 kB / 1.115 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8841, allocations: 3.938 kB / 1.115 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001352/0.8855, allocations: 1.284 MB / 1.117 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/0.8905, allocations: 2.927 MB / 1.119 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.8905, allocations: 1 kB / 1.119 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/0.8913, allocations: 185 kB / 1.12 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.8914, allocations: 3.688 kB / 1.12 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-05/0.8914, allocations: 24.5 kB / 1.12 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.8915, allocations: 8.406 kB / 1.12 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.8915, allocations: 4.969 kB / 1.12 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.8944, allocations: 1.911 MB / 1.122 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.8954, allocations: 418.6 kB / 1.122 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.8957, allocations: 19.56 kB / 1.122 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008206/0.8965, allocations: 82.84 kB / 1.122 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.8966, allocations: 57.48 kB / 1.122 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.074e-05/0.8967, allocations: 41.08 kB / 1.122 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001949/0.8987, allocations: 1.179 MB / 1.123 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8987, allocations: 0 / 1.123 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003052/0.9018, allocations: 0.9059 MB / 1.124 GB, free: 13.24 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 (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.001038/0.9028, allocations: 373.1 kB / 1.125 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004384/0.9072, allocations: 2.31 MB / 1.127 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.9072, allocations: 5.094 kB / 1.127 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008928/0.9081, allocations: 0.5148 MB / 1.127 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/0.913, allocations: 0.8654 MB / 1.128 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007582/0.9206, allocations: 4.38 MB / 1.132 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.9223, allocations: 1.663 MB / 1.134 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003685/0.926, allocations: 0.9227 MB / 1.135 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/0.9264, allocations: 134.3 kB / 1.135 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of SimCode: time 7.72e-07/0.9264, allocations: 0 / 1.135 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of Templates: time 0.06232/0.9887, allocations: 33.93 MB / 1.168 GB, free: 10.62 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)