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.WaterHeater_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.WaterHeater_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_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.01493/0.01493, allocations: 108.5 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.001631/0.001631, allocations: 181.4 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.123/2.123, allocations: 194.5 MB / 211.3 MB, free: 11.02 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.319/2.319, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006494, allocations: 16 kB / 0.587 GB, free: 2.051 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7503/0.751, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.09618/0.8473, allocations: 44.39 MB / 0.7268 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.04193/0.8892, allocations: 15.57 MB / 0.742 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004112/0.8934, allocations: 71.5 kB / 0.742 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.005461/0.8989, allocations: 0.9619 MB / 0.743 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.9105, allocations: 2.314 MB / 0.7452 GB, free: 14.99 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01376/0.9243, allocations: 2.861 MB / 0.748 GB, free: 12.12 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.008051/0.9324, allocations: 2.773 MB / 0.7507 GB, free: 9.348 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003059/0.9355, allocations: 1.234 MB / 0.7519 GB, free: 8.09 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004496/0.94, allocations: 1.354 MB / 0.7533 GB, free: 6.73 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.9426, allocations: 0.9176 MB / 0.7542 GB, free: 5.809 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0004621/0.9431, allocations: 68 kB / 0.7542 GB, free: 5.742 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.9482, allocations: 1.35 MB / 0.7555 GB, free: 4.391 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008816/0.9491, allocations: 390.4 kB / 0.7559 GB, free: 4.008 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008938/0.95, allocations: 408.6 kB / 0.7563 GB, free: 3.602 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.9559, allocations: 2.408 MB / 0.7587 GB, free: 1.188 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.956, allocations: 0 / 0.7587 GB, free: 1.188 MB / 0.573 GB Notification: Performance of FrontEnd: time 5.431e-06/0.956, allocations: 0 / 0.7587 GB, free: 1.188 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.135e-05/0.9561, allocations: 3.938 kB / 0.7587 GB, free: 1.184 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.006288/0.9624, allocations: 2.231 MB / 0.7608 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.9624, allocations: 8.031 kB / 0.7609 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004166/0.9629, allocations: 173 kB / 0.761 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/0.9665, allocations: 492.9 kB / 0.7615 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/0.9714, allocations: 1.528 MB / 0.763 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006984/0.9722, allocations: 158.2 kB / 0.7631 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/0.9725, allocations: 124 kB / 0.7632 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/0.9773, allocations: 1.376 MB / 0.7646 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/0.9774, allocations: 3.938 kB / 0.7646 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001894/0.9776, allocations: 51.98 kB / 0.7646 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-05/0.9777, allocations: 28 kB / 0.7647 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004819/0.9825, allocations: 1.117 MB / 0.7658 GB, free: 9.668 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.01465/0.9972, allocations: 7.132 MB / 0.7727 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004706/1.002, allocations: 1.423 MB / 0.7741 GB, free: 444 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007698/1.01, allocations: 3.064 MB / 0.7771 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/1.012, allocations: 446.9 kB / 0.7775 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007395/1.012, allocations: 95.19 kB / 0.7776 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 3.858e-06/1.012, allocations: 0 / 0.7776 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.005606/1.018, allocations: 1.272 MB / 0.7789 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.925e-05/1.018, allocations: 141.1 kB / 0.779 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/1.022, allocations: 1.589 MB / 0.7806 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/1.022, allocations: 49.69 kB / 0.7806 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.023, allocations: 0.888 MB / 0.7815 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003379/1.023, allocations: 220.9 kB / 0.7817 GB, free: 8.254 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/1.024, allocations: 20 kB / 0.7817 GB, free: 8.234 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.024, allocations: 341.9 kB / 0.782 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/1.025, allocations: 394.1 kB / 0.7824 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/1.028, allocations: 0.7909 MB / 0.7832 GB, free: 6.531 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/1.03, allocations: 0.5139 MB / 0.7837 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.03, allocations: 4 kB / 0.7837 GB, free: 6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004968/1.035, allocations: 1.361 MB / 0.785 GB, free: 4.617 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001966/1.037, allocations: 4.397 MB / 0.7893 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.885e-05/1.037, allocations: 8 kB / 0.7893 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.56e-05/1.037, allocations: 20 kB / 0.7893 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/1.039, allocations: 267.6 kB / 0.7896 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.555e-05/1.039, allocations: 23.92 kB / 0.7896 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/1.042, allocations: 132.5 kB / 0.7897 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/1.042, allocations: 55.98 kB / 0.7898 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.042, allocations: 4 kB / 0.7898 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004351/1.046, allocations: 1.182 MB / 0.7909 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/1.046, allocations: 19.94 kB / 0.791 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/1.046, allocations: 16 kB / 0.791 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/1.048, allocations: 268.1 kB / 0.7912 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/1.048, allocations: 19.94 kB / 0.7913 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/1.051, allocations: 136.4 kB / 0.7914 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/1.051, 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.001189/1.052, allocations: 485.2 kB / 0.7919 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/1.052, allocations: 169.8 kB / 0.7921 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/1.057, allocations: 1.146 MB / 0.7932 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/1.057, allocations: 8 kB / 0.7932 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.057, allocations: 4 kB / 0.7932 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003506/1.061, allocations: 0.9855 MB / 0.7942 GB, free: 10.79 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.007738/1.068, allocations: 2.439 MB / 0.7965 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.068, allocations: 11.95 kB / 0.7965 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/1.07, allocations: 151.8 kB / 0.7967 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/1.07, allocations: 40.81 kB / 0.7967 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.504e-05/1.07, allocations: 23.98 kB / 0.7968 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/1.072, allocations: 1.378 MB / 0.7981 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.072, allocations: 4.031 kB / 0.7981 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006012/1.078, allocations: 1.596 MB / 0.7997 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.079, allocations: 358.5 kB / 0.8 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004416/1.08, allocations: 12 kB / 0.8 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.082, allocations: 119.9 kB / 0.8001 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/1.082, allocations: 52.48 kB / 0.8002 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.082, allocations: 27.98 kB / 0.8002 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002846/1.085, allocations: 1.141 MB / 0.8013 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/1.085, allocations: 0 / 0.8013 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00464/1.09, allocations: 0.9201 MB / 0.8022 GB, free: 2.238 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,hea.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.008664/1.098, allocations: 2.79 MB / 0.8049 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006314/1.105, allocations: 1.809 MB / 0.8067 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.105, allocations: 1.75 kB / 0.8067 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002293/1.107, allocations: 0.5642 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.005783/1.113, allocations: 0.7285 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.01497/1.128, allocations: 11.83 MB / 0.8195 GB, free: 208 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/1.129, allocations: 1.407 MB / 0.8209 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00291/1.132, allocations: 422.2 kB / 0.8213 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/1.134, allocations: 0.7258 MB / 0.822 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/1.134, allocations: 0 / 0.822 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1374/1.271, allocations: 46.87 MB / 0.8678 GB, free: 15.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004033/1.272, allocations: 288.7 kB / 0.8681 GB, free: 14.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.701/5.973, allocations: 0 / 0.8681 GB, free: 14.94 MB / 0.698 GB