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.PlateHeatExchangerEffectivenessNTUPControl.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.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",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.01633/0.01633, allocations: 107.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.001863/0.001862, allocations: 181.8 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.145/2.145, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.389/2.389, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006738/0.0006739, allocations: 12 kB / 0.587 GB, free: 2.094 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7244/0.7252, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.07356/0.7988, allocations: 40.03 MB / 0.7225 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.03286/0.8317, allocations: 13.06 MB / 0.7353 GB, free: 9.098 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003062/0.8348, allocations: 55.84 kB / 0.7353 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.003816/0.8387, allocations: 0.6482 MB / 0.736 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00971/0.8485, allocations: 1.811 MB / 0.7377 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0142/0.8627, allocations: 2.779 MB / 0.7404 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006857/0.8696, allocations: 2.168 MB / 0.7425 GB, free: 1.723 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.8723, allocations: 0.9346 MB / 0.7435 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004477/0.8768, allocations: 1.191 MB / 0.7446 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002399/0.8793, allocations: 0.7232 MB / 0.7453 GB, free: 14.85 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000528/0.8799, allocations: 55.94 kB / 0.7454 GB, free: 14.79 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006693/0.8866, allocations: 1.849 MB / 0.7472 GB, free: 12.94 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000878/0.8875, allocations: 250.8 kB / 0.7474 GB, free: 12.7 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008524/0.8884, allocations: 316.9 kB / 0.7477 GB, free: 12.38 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00576/0.8942, allocations: 2.015 MB / 0.7497 GB, free: 10.36 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8943, allocations: 0 / 0.7497 GB, free: 10.36 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.427e-05/0.8943, allocations: 4 kB / 0.7497 GB, free: 10.36 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.587e-05/0.8944, allocations: 3.938 kB / 0.7497 GB, free: 10.35 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006212/0.9006, allocations: 1.831 MB / 0.7515 GB, free: 8.457 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.9007, allocations: 12.03 kB / 0.7515 GB, free: 8.445 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004646/0.9012, allocations: 135.3 kB / 0.7516 GB, free: 8.305 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.9051, allocations: 421.6 kB / 0.752 GB, free: 7.891 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.9088, allocations: 1.114 MB / 0.7531 GB, free: 6.727 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001328/0.9102, allocations: 210.2 kB / 0.7533 GB, free: 6.52 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004943/0.9107, allocations: 104 kB / 0.7534 GB, free: 6.418 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/0.9151, allocations: 1.118 MB / 0.7545 GB, free: 5.258 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.038e-05/0.9152, allocations: 3.938 kB / 0.7545 GB, free: 5.254 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/0.9154, allocations: 40 kB / 0.7546 GB, free: 5.215 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.9154, allocations: 20 kB / 0.7546 GB, free: 5.195 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005239/0.9207, allocations: 1.054 MB / 0.7556 GB, free: 4.141 MB / 0.573 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.01404/0.9348, allocations: 4.773 MB / 0.7603 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004644/0.9395, allocations: 0.9002 MB / 0.7611 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/0.9415, allocations: 1.08 MB / 0.7622 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00257/0.9441, allocations: 0.534 MB / 0.7627 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=69): time 4.799e-06/0.9441, allocations: 0 / 0.7627 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69): time 0.0072/0.9513, allocations: 1.34 MB / 0.764 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/0.9515, allocations: 137.1 kB / 0.7642 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.9543, allocations: 1.203 MB / 0.7653 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003056/0.9547, allocations: 49.7 kB / 0.7654 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008686/0.9556, allocations: 0.6263 MB / 0.766 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/0.956, allocations: 232.6 kB / 0.7662 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.9562, allocations: 20 kB / 0.7662 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.9563, allocations: 345.9 kB / 0.7666 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/0.9587, allocations: 465.6 kB / 0.767 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002796/0.9616, allocations: 0.7003 MB / 0.7677 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.9643, allocations: 0.5238 MB / 0.7682 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/0.9644, allocations: 0 / 0.7682 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006367/0.9707, allocations: 1.345 MB / 0.7695 GB, free: 5.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007427/0.9715, allocations: 1.717 MB / 0.7712 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.447e-05/0.9716, allocations: 8 kB / 0.7712 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.842e-05/0.9717, allocations: 8 kB / 0.7712 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003168/0.9748, allocations: 319.6 kB / 0.7715 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/0.9759, allocations: 1.195 MB / 0.7727 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.9788, allocations: 206.7 kB / 0.7729 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003745/0.9792, allocations: 51.97 kB / 0.7729 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.9792, allocations: 4 kB / 0.7729 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005633/0.9849, allocations: 1.192 MB / 0.7741 GB, free: 336 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/0.985, allocations: 7.984 kB / 0.7741 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.985, allocations: 8 kB / 0.7741 GB, free: 320 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/0.9875, allocations: 279.8 kB / 0.7744 GB, free: 40 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.333e-05/0.9876, allocations: 15.94 kB / 0.7744 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.9902, allocations: 183 kB / 0.7746 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003731/0.9906, allocations: 51.97 kB / 0.7746 GB, free: 15.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.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): 117 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001088/0.9917, allocations: 389.7 kB / 0.775 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/0.9923, allocations: 146.2 kB / 0.7751 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005869/0.9982, allocations: 1.271 MB / 0.7764 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/0.9983, allocations: 15.98 kB / 0.7764 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.9983, allocations: 0 / 0.7764 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.152e-05/0.9983, allocations: 3.984 kB / 0.7764 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008837/1.007, allocations: 2.456 MB / 0.7788 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.007, allocations: 3.938 kB / 0.7788 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/1.009, allocations: 219.8 kB / 0.779 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/1.009, allocations: 4 kB / 0.779 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/1.01, allocations: 27.92 kB / 0.779 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009011/1.011, allocations: 1.192 MB / 0.7802 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/1.011, allocations: 8.094 kB / 0.7802 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008029/1.019, allocations: 1.873 MB / 0.782 GB, free: 8.008 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.02, allocations: 362.8 kB / 0.7824 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/1.02, allocations: 23.95 kB / 0.7824 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.023, allocations: 112.1 kB / 0.7825 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/1.023, allocations: 64.56 kB / 0.7826 GB, free: 7.438 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.023, allocations: 39.95 kB / 0.7826 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002004/1.025, allocations: 0.7975 MB / 0.7834 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.9e-07/1.025, allocations: 0 / 0.7834 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003801/1.029, allocations: 0.7996 MB / 0.7842 GB, free: 5.801 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01041/1.039, allocations: 3.178 MB / 0.7873 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.009136/1.049, allocations: 1.941 MB / 0.7892 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.049, allocations: 0.625 kB / 0.7892 GB, free: 0.6016 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002852/1.051, allocations: 0.5742 MB / 0.7897 GB, free: 24 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005417/1.057, allocations: 0.5726 MB / 0.7903 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/1.069, allocations: 6.381 MB / 0.7965 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.07, allocations: 1.203 MB / 0.7977 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002804/1.073, allocations: 360 kB / 0.798 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/1.075, allocations: 0.55 MB / 0.7986 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of SimCode: time 1.603e-06/1.075, allocations: 0 / 0.7986 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/1.195, allocations: 40.06 MB / 0.8377 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004038/1.195, allocations: 296.5 kB / 0.838 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.332/5.527, allocations: 0 / 0.838 GB, free: 14.85 MB / 0.6667 GB