Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.Examples.WaterCooler_T,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01725/0.01726, allocations: 106.2 kB / 15.06 MB, free: 5.555 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.002235/0.002235, allocations: 178.2 kB / 15.95 MB, free: 5.52 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 2.208/2.208, allocations: 194.5 MB / 211.3 MB, free: 10.99 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.497/2.497, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006916/0.0006919, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.7274, allocations: 98.72 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.0919/0.8193, allocations: 44.39 MB / 0.7268 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.04006/0.8595, allocations: 15.56 MB / 0.742 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003568/0.8631, allocations: 67.5 kB / 0.742 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005442/0.8686, allocations: 0.9576 MB / 0.743 GB, free: 1.312 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.8801, allocations: 2.322 MB / 0.7452 GB, free: 14.98 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01449/0.8946, allocations: 2.855 MB / 0.748 GB, free: 12.12 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.008331/0.903, allocations: 2.769 MB / 0.7507 GB, free: 9.348 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003566/0.9066, allocations: 1.234 MB / 0.7519 GB, free: 8.09 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004848/0.9115, allocations: 1.351 MB / 0.7533 GB, free: 6.734 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.9145, allocations: 0.9137 MB / 0.7542 GB, free: 5.816 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0007986/0.9154, allocations: 68 kB / 0.7542 GB, free: 5.75 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005823/0.9212, allocations: 1.353 MB / 0.7555 GB, free: 4.395 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.9224, allocations: 394.4 kB / 0.7559 GB, free: 4.008 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.9236, allocations: 408.6 kB / 0.7563 GB, free: 3.602 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005906/0.9296, allocations: 2.404 MB / 0.7587 GB, free: 1.191 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9296, allocations: 3.938 kB / 0.7587 GB, free: 1.188 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.497e-06/0.9297, allocations: 0 / 0.7587 GB, free: 1.188 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001131/0.9298, allocations: 0 / 0.7587 GB, free: 1.188 MB / 0.573 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.007255/0.937, allocations: 2.241 MB / 0.7608 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.9371, allocations: 15.97 kB / 0.7609 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005889/0.9377, allocations: 169 kB / 0.761 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/0.9417, allocations: 488.9 kB / 0.7615 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005467/0.9472, allocations: 1.524 MB / 0.763 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007743/0.9481, allocations: 166.1 kB / 0.7631 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004878/0.9486, allocations: 120 kB / 0.7632 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005268/0.9539, allocations: 1.372 MB / 0.7646 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.483e-05/0.954, allocations: 0 / 0.7646 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.9542, allocations: 52 kB / 0.7646 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.9543, allocations: 28 kB / 0.7647 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005602/0.9599, allocations: 1.124 MB / 0.7658 GB, free: 9.664 MB / 0.5886 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.0176/0.9776, allocations: 7.136 MB / 0.7727 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00495/0.9826, allocations: 1.426 MB / 0.7741 GB, free: 432 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008862/0.9915, allocations: 3.055 MB / 0.7771 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00206/0.9936, allocations: 446.9 kB / 0.7775 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009737/0.9947, allocations: 91.25 kB / 0.7776 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 6.903e-06/0.9947, allocations: 0 / 0.7776 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.006748/1.001, allocations: 1.276 MB / 0.7789 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/1.002, allocations: 141.1 kB / 0.779 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/1.006, allocations: 1.593 MB / 0.7806 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/1.006, allocations: 41.7 kB / 0.7806 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/1.008, allocations: 0.8919 MB / 0.7815 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004274/1.008, allocations: 220.9 kB / 0.7817 GB, free: 8.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.008, allocations: 16 kB / 0.7817 GB, free: 8.234 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.008, allocations: 353.9 kB / 0.782 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.01, allocations: 382.1 kB / 0.7824 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002708/1.013, allocations: 0.7948 MB / 0.7832 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00227/1.015, allocations: 0.5217 MB / 0.7837 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.757e-05/1.015, allocations: 0 / 0.7837 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.005798/1.021, allocations: 1.358 MB / 0.785 GB, free: 4.613 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001894/1.023, allocations: 4.395 MB / 0.7893 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.67e-05/1.023, allocations: 12 kB / 0.7893 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.674e-05/1.023, allocations: 16 kB / 0.7893 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/1.026, allocations: 271.6 kB / 0.7896 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.542e-05/1.026, allocations: 23.94 kB / 0.7896 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.028, allocations: 128.5 kB / 0.7897 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/1.029, allocations: 59.92 kB / 0.7898 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.029, allocations: 4 kB / 0.7898 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005057/1.034, allocations: 1.179 MB / 0.7909 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-05/1.034, allocations: 20.02 kB / 0.791 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/1.034, allocations: 19.94 kB / 0.791 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/1.036, allocations: 259.7 kB / 0.7912 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.541e-05/1.036, allocations: 31.86 kB / 0.7913 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/1.039, allocations: 132.3 kB / 0.7914 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/1.039, allocations: 51.98 kB / 0.7914 GB, free: 13.65 MB / 0.6198 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 (123): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 2 * 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.001418/1.04, allocations: 480.7 kB / 0.7919 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005611/1.041, allocations: 169.8 kB / 0.7921 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/1.046, allocations: 1.158 MB / 0.7932 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/1.046, allocations: 12 kB / 0.7932 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.047, allocations: 0 / 0.7932 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003986/1.05, allocations: 0.9816 MB / 0.7942 GB, free: 10.78 MB / 0.6198 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.008952/1.06, allocations: 2.447 MB / 0.7965 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/1.06, allocations: 7.938 kB / 0.7966 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/1.061, allocations: 155.8 kB / 0.7967 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/1.062, allocations: 40.83 kB / 0.7967 GB, free: 8.051 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/1.062, allocations: 19.98 kB / 0.7968 GB, free: 8.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/1.064, allocations: 1.382 MB / 0.7981 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.064, allocations: 0 / 0.7981 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006622/1.07, allocations: 1.593 MB / 0.7997 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.072, allocations: 362.5 kB / 0.8 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006305/1.072, allocations: 16 kB / 0.8 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/1.075, allocations: 111.9 kB / 0.8001 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/1.075, allocations: 60.41 kB / 0.8002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.075, allocations: 23.98 kB / 0.8002 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003229/1.078, allocations: 1.137 MB / 0.8013 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.81e-07/1.078, allocations: 0 / 0.8013 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005137/1.084, allocations: 0.9279 MB / 0.8022 GB, free: 2.223 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (68): * Single equations (assignments): 59 * 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.009763/1.093, allocations: 2.778 MB / 0.8049 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007044/1.101, allocations: 1.803 MB / 0.8067 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.101, allocations: 4 kB / 0.8067 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/1.103, allocations: 0.5643 MB / 0.8073 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006227/1.109, allocations: 0.7316 MB / 0.808 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.126, allocations: 11.85 MB / 0.8195 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001925/1.128, allocations: 1.399 MB / 0.8209 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003296/1.131, allocations: 422.2 kB / 0.8213 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/1.133, allocations: 0.718 MB / 0.822 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of SimCode: time 2.023e-06/1.133, allocations: 0 / 0.822 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1539/1.287, allocations: 46.87 MB / 0.8678 GB, free: 15.31 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/1.288, allocations: 284.7 kB / 0.8681 GB, free: 14.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.795/6.082, allocations: 0 / 0.8681 GB, free: 14.95 MB / 0.698 GB