Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0105/0.0105, allocations: 89.05 kB / 15.04 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001171/0.001171, allocations: 171 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.128/2.128, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.465/2.465, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006689/0.0006692, allocations: 12.12 kB / 0.6243 GB, free: 28.49 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2498, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.07648/0.3264, allocations: 44.89 MB / 0.7719 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0374/0.3638, allocations: 15.63 MB / 0.7872 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004165/0.3681, allocations: 67.5 kB / 0.7872 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005608/0.3737, allocations: 0.9603 MB / 0.7882 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.3851, allocations: 2.321 MB / 0.7904 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0136/0.3988, allocations: 2.96 MB / 0.7933 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007865/0.4067, allocations: 2.757 MB / 0.796 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002975/0.4097, allocations: 1.242 MB / 0.7972 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004611/0.4143, allocations: 1.351 MB / 0.7985 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.4171, allocations: 0.9137 MB / 0.7994 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004825/0.4176, allocations: 71.94 kB / 0.7995 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00505/0.4227, allocations: 1.361 MB / 0.8008 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.4238, allocations: 394.4 kB / 0.8012 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009862/0.4248, allocations: 404.6 kB / 0.8016 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005693/0.4305, allocations: 2.424 MB / 0.804 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4306, allocations: 3.938 kB / 0.804 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.745e-06/0.4306, allocations: 4 kB / 0.804 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.089e-05/0.4306, allocations: 0 / 0.804 GB, free: 12.22 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006438/0.4371, allocations: 2.214 MB / 0.8061 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.4372, allocations: 8.031 kB / 0.8061 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004621/0.4376, allocations: 173 kB / 0.8063 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.4413, allocations: 0.4891 MB / 0.8068 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004985/0.4464, allocations: 1.524 MB / 0.8083 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007251/0.4472, allocations: 158.2 kB / 0.8084 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004337/0.4476, allocations: 127.9 kB / 0.8085 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004662/0.4523, allocations: 1.369 MB / 0.8099 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.4524, allocations: 3.938 kB / 0.8099 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.4526, allocations: 47.94 kB / 0.8099 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-05/0.4526, allocations: 39.94 kB / 0.81 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004755/0.4574, allocations: 1.113 MB / 0.8111 GB, free: 4.723 MB / 0.6355 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.01535/0.4728, allocations: 7.136 MB / 0.818 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004625/0.4775, allocations: 1.419 MB / 0.8194 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007773/0.4853, allocations: 3.075 MB / 0.8224 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001847/0.4872, allocations: 446.9 kB / 0.8228 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008476/0.4881, allocations: 99.17 kB / 0.8229 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 8.446e-06/0.4881, allocations: 0 / 0.8229 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.005772/0.4939, allocations: 1.284 MB / 0.8242 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.494, allocations: 137.1 kB / 0.8243 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/0.4976, allocations: 1.598 MB / 0.8259 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002678/0.4979, allocations: 45.7 kB / 0.8259 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.4991, allocations: 0.8997 MB / 0.8268 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.4995, allocations: 212.9 kB / 0.827 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/0.4996, allocations: 20 kB / 0.827 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4998, allocations: 341.9 kB / 0.8273 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.5016, allocations: 385.8 kB / 0.8277 GB, free: 2.547 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.5037, allocations: 0.7852 MB / 0.8285 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.5056, allocations: 0.4966 MB / 0.829 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.5057, allocations: 4 kB / 0.829 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005073/0.5107, allocations: 1.321 MB / 0.8303 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001886/0.5127, allocations: 4.372 MB / 0.8345 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-05/0.5128, allocations: 8 kB / 0.8345 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.204e-05/0.5128, allocations: 24 kB / 0.8346 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/0.515, allocations: 267.6 kB / 0.8348 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-05/0.515, allocations: 19.94 kB / 0.8348 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/0.5174, allocations: 144.3 kB / 0.835 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/0.5176, allocations: 59.89 kB / 0.835 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5176, allocations: 0 / 0.835 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004447/0.5221, allocations: 1.157 MB / 0.8362 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/0.5222, allocations: 12 kB / 0.8362 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.5222, allocations: 16 kB / 0.8362 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.5241, allocations: 263.8 kB / 0.8364 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.325e-05/0.5242, allocations: 23.92 kB / 0.8365 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.5264, allocations: 132.4 kB / 0.8366 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.5266, allocations: 55.97 kB / 0.8366 GB, free: 8.82 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001175/0.5278, allocations: 489.1 kB / 0.8371 GB, free: 8.332 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/0.5283, allocations: 169.8 kB / 0.8373 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00468/0.533, allocations: 1.163 MB / 0.8384 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.533, allocations: 11.98 kB / 0.8384 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.5331, allocations: 0 / 0.8384 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003548/0.5366, allocations: 0.9977 MB / 0.8394 GB, free: 5.926 MB / 0.6667 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.007544/0.5442, allocations: 2.463 MB / 0.8418 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.5443, allocations: 7.984 kB / 0.8418 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.5457, allocations: 151.9 kB / 0.8419 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.546, allocations: 36.78 kB / 0.842 GB, free: 3.191 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.3e-05/0.5461, allocations: 23.97 kB / 0.842 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.5478, allocations: 1.39 MB / 0.8434 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5478, allocations: 0 / 0.8434 GB, free: 1.648 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6086/1.156, allocations: 1.635 MB / 0.845 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001257/1.158, allocations: 357.3 kB / 0.8453 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005931/1.158, allocations: 18.05 kB / 0.8453 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002385/1.161, allocations: 117.7 kB / 0.8454 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/1.161, allocations: 57.77 kB / 0.8455 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001597/1.161, allocations: 34.25 kB / 0.8455 GB, free: 113.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003536/1.165, allocations: 1.139 MB / 0.8466 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.21e-07/1.165, allocations: 1.312 kB / 0.8466 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005317/1.17, allocations: 0.9227 MB / 0.8475 GB, free: 113.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009228/1.179, allocations: 2.984 MB / 0.8504 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006296/1.186, allocations: 1.705 MB / 0.8521 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.186, allocations: 0 / 0.8521 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.188, allocations: 0.5684 MB / 0.8527 GB, free: 112 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006204/1.194, allocations: 0.7375 MB / 0.8534 GB, free: 111.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/1.209, allocations: 12.31 MB / 0.8654 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/1.211, allocations: 1.404 MB / 0.8668 GB, free: 101 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003246/1.214, allocations: 425.6 kB / 0.8672 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/1.216, allocations: 0.7282 MB / 0.8679 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of SimCode: time 1.483e-06/1.216, allocations: 0 / 0.8679 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1522/1.368, allocations: 47.03 MB / 0.9138 GB, free: 68.93 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/1.368, allocations: 260.5 kB / 0.9141 GB, free: 68.58 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.744/6.112, allocations: 0 / 0.9141 GB, free: 68.58 MB / 0.6667 GB