Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.813/1.813, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.001157/0.001158, allocations: 179.5 kB / 393.1 MB, free: 4.086 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.463/1.463, allocations: 225.7 MB / 0.6743 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008664/0.0008665, allocations: 92.39 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.6474, allocations: 121.3 MB / 1.041 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02374/0.6712, allocations: 28.22 MB / 1.068 GB, free: 37.45 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.6821, allocations: 11.19 MB / 1.079 GB, free: 27.7 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.6837, allocations: 30.41 kB / 1.079 GB, free: 27.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.6847, allocations: 330.6 kB / 1.08 GB, free: 27.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.6881, allocations: 0.9267 MB / 1.081 GB, free: 26.95 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.691, allocations: 0.9221 MB / 1.082 GB, free: 26.44 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005672/0.6967, allocations: 6.056 MB / 1.087 GB, free: 24.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.6994, allocations: 1.792 MB / 1.089 GB, free: 23.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.7025, allocations: 1.36 MB / 1.09 GB, free: 22.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.7051, allocations: 1.295 MB / 1.092 GB, free: 22.41 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.7055, allocations: 78.5 kB / 1.092 GB, free: 22.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003927/0.7094, allocations: 1.098 MB / 1.093 GB, free: 22.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006029/0.71, allocations: 365 kB / 1.093 GB, free: 21.91 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.7122, allocations: 0.9709 MB / 1.094 GB, free: 21.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006086/0.7183, allocations: 3.455 MB / 1.098 GB, free: 20.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.7184, allocations: 0 / 1.098 GB, free: 20.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7184, allocations: 0 / 1.098 GB, free: 20.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.677e-05/0.7185, allocations: 4 kB / 1.098 GB, free: 20.42 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.005279/0.7238, allocations: 2.114 MB / 1.1 GB, free: 19.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.7238, allocations: 13.2 kB / 1.1 GB, free: 19.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008513/0.7247, allocations: 236.4 kB / 1.1 GB, free: 19.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.7278, allocations: 1.744 MB / 1.102 GB, free: 18.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.728, allocations: 111.9 kB / 1.102 GB, free: 18.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.7282, allocations: 147.8 kB / 1.102 GB, free: 18.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/0.7318, allocations: 1.994 MB / 1.104 GB, free: 17.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/0.7319, allocations: 2.031 kB / 1.104 GB, free: 17.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.732, allocations: 58.31 kB / 1.104 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-05/0.7321, allocations: 34.94 kB / 1.104 GB, free: 17.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.7351, allocations: 1.788 MB / 1.106 GB, free: 16.63 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.01213/0.7473, allocations: 7.607 MB / 1.113 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.7492, allocations: 1.439 MB / 1.114 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000915/0.7502, allocations: 0.6725 MB / 1.115 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00668/0.7568, allocations: 3.855 MB / 1.119 GB, free: 8.824 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.7569, allocations: 39.94 kB / 1.119 GB, free: 8.781 MB / 0.698 GB Notification: Performance of pre-optimization done (n=88): time 2.735e-06/0.7569, allocations: 0 / 1.119 GB, free: 8.781 MB / 0.698 GB Notification: Performance of matching and sorting (n=88): time 0.002667/0.7596, allocations: 1.504 MB / 1.12 GB, free: 8.234 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.7597, allocations: 68.41 kB / 1.12 GB, free: 8.164 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.762, allocations: 1.567 MB / 1.122 GB, free: 7.582 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.7621, allocations: 48.17 kB / 1.122 GB, free: 7.535 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005452/0.7627, allocations: 0.7476 MB / 1.123 GB, free: 6.953 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.763, allocations: 320.9 kB / 1.123 GB, free: 6.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.7631, allocations: 24.84 kB / 1.123 GB, free: 6.684 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.7632, allocations: 369.3 kB / 1.123 GB, free: 6.352 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.7642, allocations: 0.6744 MB / 1.124 GB, free: 6.133 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.7654, allocations: 1.019 MB / 1.125 GB, free: 5.516 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/0.7677, allocations: 1.616 MB / 1.127 GB, free: 4.633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.7677, allocations: 2.188 kB / 1.127 GB, free: 4.633 MB / 0.698 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003342/0.771, allocations: 1.938 MB / 1.129 GB, free: 3.906 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.7712, allocations: 355.9 kB / 1.129 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.7712, allocations: 8.812 kB / 1.129 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.936e-05/0.7713, allocations: 19.38 kB / 1.129 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.7726, allocations: 340.3 kB / 1.129 GB, free: 3.422 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/0.7726, allocations: 20.98 kB / 1.129 GB, free: 3.418 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.7742, allocations: 222.5 kB / 1.129 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.7743, allocations: 61.27 kB / 1.13 GB, free: 3.285 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.7743, allocations: 4.125 kB / 1.13 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002695/0.777, allocations: 1.782 MB / 1.131 GB, free: 2.645 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.7771, allocations: 9.062 kB / 1.131 GB, free: 2.645 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.7771, allocations: 19.22 kB / 1.131 GB, free: 2.641 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.7783, allocations: 339.6 kB / 1.132 GB, free: 2.605 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/0.7784, allocations: 20.94 kB / 1.132 GB, free: 2.602 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.7797, allocations: 188 kB / 1.132 GB, free: 2.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.7799, allocations: 65.34 kB / 1.132 GB, free: 2.492 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.001355/0.7812, allocations: 0.7504 MB / 1.133 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.7816, allocations: 146.3 kB / 1.133 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.7835, allocations: 1.278 MB / 1.134 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.7835, allocations: 12.56 kB / 1.134 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7836, allocations: 0 / 1.134 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001324/0.7849, allocations: 1.279 MB / 1.135 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005312/0.7902, allocations: 2.93 MB / 1.138 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.7902, allocations: 0 / 1.138 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008405/0.7911, allocations: 185.5 kB / 1.138 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.7911, allocations: 4 kB / 1.138 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/0.7912, allocations: 23.56 kB / 1.138 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.467e-06/0.7912, allocations: 4 kB / 1.138 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.7912, allocations: 12.48 kB / 1.138 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.7941, allocations: 1.901 MB / 1.14 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009983/0.7951, allocations: 420.9 kB / 1.141 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.7953, allocations: 25.73 kB / 1.141 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000833/0.7962, allocations: 81.31 kB / 1.141 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.7963, allocations: 55.81 kB / 1.141 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-05/0.7964, allocations: 42.05 kB / 1.141 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001763/0.7982, allocations: 1.176 MB / 1.142 GB, free: 10 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7982, allocations: 0 / 1.142 GB, free: 10 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002674/0.8009, allocations: 0.9032 MB / 1.143 GB, free: 9.102 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.0009359/0.8018, allocations: 378.2 kB / 1.143 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003697/0.8055, allocations: 2.303 MB / 1.145 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.8055, allocations: 4.188 kB / 1.145 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.8063, allocations: 0.5186 MB / 1.146 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/0.8104, allocations: 0.8665 MB / 1.147 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/0.8167, allocations: 4.381 MB / 1.151 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.8184, allocations: 1.662 MB / 1.153 GB, free: 372 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003796/0.8222, allocations: 0.9232 MB / 1.154 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.8226, allocations: 132.6 kB / 1.154 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of SimCode: time 1.423e-06/0.8226, allocations: 0 / 1.154 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of Templates: time 0.05628/0.8789, allocations: 33.93 MB / 1.187 GB, free: 14.31 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)