Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01307/0.01307, allocations: 221.5 kB / 15.17 MB, free: 5.922 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001278/0.001278, allocations: 179 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.057/4.057, allocations: 389.1 MB / 405.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.021/4.021, allocations: 472.3 MB / 0.9018 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000718/0.0007184, allocations: 19.72 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1902, allocations: 98.71 MB / 1.104 GB, free: 41.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.683/0.8733, allocations: 78.85 MB / 1.181 GB, free: 42.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.2396/1.113, allocations: 153.5 MB / 1.331 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004071/1.117, allocations: 75.5 kB / 1.331 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004789/1.122, allocations: 0.9122 MB / 1.332 GB, free: 1.223 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01714/1.139, allocations: 2.919 MB / 1.335 GB, free: 14.29 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01613/1.155, allocations: 3.305 MB / 1.338 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01272/1.168, allocations: 6.366 MB / 1.344 GB, free: 4.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005345/1.173, allocations: 1.886 MB / 1.346 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00534/1.179, allocations: 1.68 MB / 1.348 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004234/1.183, allocations: 1.539 MB / 1.349 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000767/1.184, allocations: 88 kB / 1.349 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006391/1.19, allocations: 1.497 MB / 1.351 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001289/1.192, allocations: 0.5213 MB / 1.351 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/1.193, allocations: 0.5237 MB / 1.352 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007553/1.2, allocations: 3.331 MB / 1.355 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/1.201, allocations: 4 kB / 1.355 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.905e-06/1.201, allocations: 0 / 1.355 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001064/1.201, allocations: 0 / 1.355 GB, free: 9.523 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008767/1.209, allocations: 2.827 MB / 1.358 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.21, allocations: 12.02 kB / 1.358 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008122/1.21, allocations: 273.7 kB / 1.358 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006973/1.217, allocations: 0.7211 MB / 1.359 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006336/1.224, allocations: 1.996 MB / 1.361 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007823/1.225, allocations: 211.6 kB / 1.361 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/1.225, allocations: 187.9 kB / 1.361 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007212/1.232, allocations: 2.175 MB / 1.363 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.06e-05/1.232, allocations: 3.938 kB / 1.363 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003264/1.233, allocations: 76 kB / 1.363 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.278e-05/1.233, allocations: 54.44 kB / 1.363 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008712/1.242, allocations: 2.223 MB / 1.366 GB, free: 14.56 MB / 0.7292 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.02396/1.266, allocations: 8.833 MB / 1.374 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007205/1.273, allocations: 1.589 MB / 1.376 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002859/1.276, allocations: 0.6642 MB / 1.376 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007749/1.284, allocations: 3.175 MB / 1.379 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003346/1.287, allocations: 0.8644 MB / 1.38 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00103/1.288, allocations: 130.7 kB / 1.38 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=121): time 4.328e-06/1.288, allocations: 0 / 1.38 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=121): time 0.01332/1.301, allocations: 2.565 MB / 1.383 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.302, allocations: 167.2 kB / 1.383 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/1.305, allocations: 1.78 MB / 1.385 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003755/1.306, allocations: 57.69 kB / 1.385 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/1.307, allocations: 1.054 MB / 1.386 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000561/1.308, allocations: 406.1 kB / 1.386 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/1.308, allocations: 28 kB / 1.386 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.308, allocations: 361.9 kB / 1.387 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/1.311, allocations: 0.609 MB / 1.387 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/1.314, allocations: 1.03 MB / 1.388 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/1.317, allocations: 0.7671 MB / 1.389 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/1.317, allocations: 4 kB / 1.389 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00908/1.326, allocations: 2.132 MB / 1.391 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003422/1.327, allocations: 448.3 kB / 1.392 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/1.327, allocations: 12 kB / 1.392 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/1.329, allocations: 230.3 kB / 1.392 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/1.332, allocations: 363.4 kB / 1.392 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/1.338, allocations: 3.577 MB / 1.396 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/1.342, allocations: 188.4 kB / 1.396 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/1.342, allocations: 79.95 kB / 1.396 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.342, allocations: 11.95 kB / 1.396 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007953/1.35, allocations: 1.872 MB / 1.398 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/1.35, allocations: 15.94 kB / 1.398 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/1.352, allocations: 222.7 kB / 1.398 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/1.355, allocations: 355.5 kB / 1.398 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005803/1.361, allocations: 3.589 MB / 1.402 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/1.364, allocations: 169.9 kB / 1.402 GB, free: 7.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/1.364, allocations: 75.97 kB / 1.402 GB, free: 7.336 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 166 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001545/1.366, allocations: 0.5874 MB / 1.403 GB, free: 6.738 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005376/1.367, allocations: 213.3 kB / 1.403 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009453/1.376, allocations: 2.101 MB / 1.405 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/1.376, allocations: 16 kB / 1.405 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.376, allocations: 0 / 1.405 GB, free: 4.395 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008002/1.384, allocations: 1.563 MB / 1.406 GB, free: 2.809 MB / 0.7605 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 postOpt removeSimpleEquations (simulation): time 0.01359/1.398, allocations: 3.897 MB / 1.41 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/1.398, allocations: 0 / 1.41 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.4, allocations: 283.6 kB / 1.41 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/1.402, allocations: 206.4 kB / 1.411 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/1.402, allocations: 39.97 kB / 1.411 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005601/1.408, allocations: 3.617 MB / 1.414 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.408, allocations: 0 / 1.414 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.42, allocations: 2.711 MB / 1.417 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.421, allocations: 0.498 MB / 1.417 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005033/1.422, allocations: 24.06 kB / 1.417 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/1.425, allocations: 191.6 kB / 1.418 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/1.425, allocations: 101.2 kB / 1.418 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/1.426, allocations: 67.94 kB / 1.418 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002626/1.428, allocations: 1.193 MB / 1.419 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.31e-07/1.428, allocations: 0 / 1.419 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004775/1.433, allocations: 1.259 MB / 1.42 GB, free: 4.277 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (vol.dynBal.U) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,onOffController.y) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTim1.tNext,onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 4,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01466/1.448, allocations: 4.154 MB / 1.424 GB, free: 308 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.459, allocations: 3.156 MB / 1.427 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.459, allocations: 0 / 1.427 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003982/1.463, allocations: 1.04 MB / 1.428 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008082/1.471, allocations: 0.9385 MB / 1.429 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04604/1.517, allocations: 13.86 MB / 1.443 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/1.519, allocations: 1.644 MB / 1.444 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004913/1.524, allocations: 0.6701 MB / 1.445 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002357/1.526, allocations: 0.9717 MB / 1.446 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of SimCode: time 1.774e-06/1.526, allocations: 0 / 1.446 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8047/2.331, allocations: 63.52 MB / 1.508 GB, free: 268.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/2.332, allocations: 321 kB / 1.508 GB, free: 268.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.535/7.866, allocations: 1.375 kB / 1.508 GB, free: 268.4 MB / 0.823 GB