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.PlateHeatExchangerEffectivenessNTUPControl.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.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01063/0.01063, allocations: 88.36 kB / 15.04 MB, free: 5.582 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.001908/0.001907, allocations: 173.8 kB / 15.92 MB, free: 5.555 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.149/2.149, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.553/2.553, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005404/0.0005407, allocations: 11.09 kB / 0.6243 GB, free: 28.28 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2432, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.07606/0.3193, allocations: 40.49 MB / 0.7676 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02944/0.3488, allocations: 12.22 MB / 0.7795 GB, free: 5.332 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002541/0.3514, allocations: 47.62 kB / 0.7796 GB, free: 5.285 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.003647/0.3551, allocations: 0.6491 MB / 0.7802 GB, free: 4.633 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.008721/0.3639, allocations: 1.811 MB / 0.782 GB, free: 2.816 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.01293/0.3769, allocations: 2.789 MB / 0.7847 GB, free: 28 kB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.006259/0.3831, allocations: 2.132 MB / 0.7868 GB, free: 13.89 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002534/0.3857, allocations: 0.9152 MB / 0.7877 GB, free: 12.95 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004089/0.3899, allocations: 1.172 MB / 0.7888 GB, free: 11.78 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.3921, allocations: 0.7232 MB / 0.7895 GB, free: 11.05 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.000433/0.3925, allocations: 52 kB / 0.7896 GB, free: 11 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006134/0.3987, allocations: 1.837 MB / 0.7914 GB, free: 9.16 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0008136/0.3996, allocations: 258.8 kB / 0.7916 GB, free: 8.906 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0007314/0.4003, allocations: 308.9 kB / 0.7919 GB, free: 8.598 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.4057, allocations: 2.027 MB / 0.7939 GB, free: 6.566 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4057, allocations: 0 / 0.7939 GB, free: 6.566 MB / 0.6199 GB Notification: Performance of FrontEnd: time 5.019e-06/0.4058, allocations: 0 / 0.7939 GB, free: 6.566 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 4.582e-05/0.4058, allocations: 3.938 kB / 0.7939 GB, free: 6.562 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.005867/0.4117, allocations: 1.831 MB / 0.7957 GB, free: 4.668 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.4118, allocations: 16.03 kB / 0.7957 GB, free: 4.652 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004385/0.4122, allocations: 135.3 kB / 0.7958 GB, free: 4.512 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/0.4154, allocations: 425.5 kB / 0.7962 GB, free: 4.094 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.4189, allocations: 1.086 MB / 0.7973 GB, free: 2.957 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001286/0.4202, allocations: 210.2 kB / 0.7975 GB, free: 2.75 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/0.4206, allocations: 108 kB / 0.7976 GB, free: 2.645 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/0.4247, allocations: 1.122 MB / 0.7987 GB, free: 1.48 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.4248, allocations: 3.938 kB / 0.7987 GB, free: 1.477 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.425, allocations: 36 kB / 0.7987 GB, free: 1.441 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.425, allocations: 24 kB / 0.7987 GB, free: 1.418 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004882/0.4299, allocations: 1.062 MB / 0.7998 GB, free: 364 kB / 0.6199 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.01345/0.4434, allocations: 4.815 MB / 0.8045 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00456/0.448, allocations: 0.9044 MB / 0.8054 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/0.45, allocations: 1.08 MB / 0.8064 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002512/0.4526, allocations: 0.5508 MB / 0.807 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 4.668e-06/0.4526, allocations: 0 / 0.807 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.007031/0.4597, allocations: 1.394 MB / 0.8083 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.4599, allocations: 145.2 kB / 0.8085 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002776/0.4627, allocations: 1.187 MB / 0.8096 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003418/0.4631, allocations: 45.7 kB / 0.8097 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008425/0.4639, allocations: 0.6003 MB / 0.8103 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004955/0.4644, allocations: 248.3 kB / 0.8105 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.883e-05/0.4645, allocations: 20 kB / 0.8105 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4647, allocations: 353.9 kB / 0.8108 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/0.4671, allocations: 457.7 kB / 0.8113 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002814/0.47, allocations: 0.7026 MB / 0.812 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.4725, allocations: 0.5316 MB / 0.8125 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.4726, allocations: 4 kB / 0.8125 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006089/0.4787, allocations: 1.356 MB / 0.8138 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008101/0.4796, allocations: 1.715 MB / 0.8155 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.12e-05/0.4796, allocations: 11.95 kB / 0.8155 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.87e-05/0.4797, allocations: 8 kB / 0.8155 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.4829, allocations: 311.6 kB / 0.8158 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.484, allocations: 1.191 MB / 0.817 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.4867, allocations: 206.9 kB / 0.8172 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/0.4871, allocations: 55.95 kB / 0.8172 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4871, allocations: 4 kB / 0.8172 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005708/0.4928, allocations: 1.208 MB / 0.8184 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/0.4929, allocations: 7.984 kB / 0.8184 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.493, allocations: 8 kB / 0.8184 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/0.4955, allocations: 283.8 kB / 0.8187 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.172e-05/0.4956, allocations: 11.94 kB / 0.8187 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.4982, allocations: 191 kB / 0.8189 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003319/0.4986, allocations: 47.97 kB / 0.8189 GB, free: 11.89 MB / 0.6511 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.001096/0.4997, allocations: 380.8 kB / 0.8193 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005264/0.5003, allocations: 146.2 kB / 0.8194 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005921/0.5062, allocations: 1.328 MB / 0.8207 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/0.5063, allocations: 12 kB / 0.8207 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.5063, allocations: 0 / 0.8207 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.5063, allocations: 3.984 kB / 0.8207 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008785/0.5151, allocations: 2.565 MB / 0.8232 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.5152, allocations: 0 / 0.8232 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/0.5173, allocations: 227.9 kB / 0.8235 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.228e-05/0.5174, allocations: 11.98 kB / 0.8235 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.5176, allocations: 23.98 kB / 0.8235 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000822/0.5184, allocations: 1.192 MB / 0.8247 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.5184, allocations: 3.938 kB / 0.8247 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007941/0.5264, allocations: 2.023 MB / 0.8266 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.5275, allocations: 359 kB / 0.827 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003307/0.5279, allocations: 20 kB / 0.827 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/0.53, allocations: 127.8 kB / 0.8271 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.5303, allocations: 68.73 kB / 0.8272 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/0.5305, allocations: 43.91 kB / 0.8272 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001816/0.5324, allocations: 0.7934 MB / 0.828 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.31e-07/0.5324, allocations: 0 / 0.828 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003652/0.5361, allocations: 0.788 MB / 0.8288 GB, free: 1.535 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (90): * Single equations (assignments): 80 * 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.01049/0.5466, allocations: 3.567 MB / 0.8323 GB, free: 13.89 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 0.009128/0.5558, allocations: 1.976 MB / 0.8342 GB, free: 11.89 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.5558, allocations: 0 / 0.8342 GB, free: 11.89 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 0.003023/0.5589, allocations: 0.6022 MB / 0.8348 GB, free: 11.28 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005442/0.5644, allocations: 0.5753 MB / 0.8353 GB, free: 10.71 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01244/0.5769, allocations: 6.456 MB / 0.8416 GB, free: 4.098 MB / 0.6668 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.578, allocations: 1.199 MB / 0.8428 GB, free: 2.867 MB / 0.6668 GB Notification: Performance of simCode: alias equations: time 0.002809/0.5808, allocations: 368.6 kB / 0.8432 GB, free: 2.512 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.5824, allocations: 0.5578 MB / 0.8437 GB, free: 1.953 MB / 0.6668 GB Notification: Performance of SimCode: time 1.633e-06/0.5824, allocations: 0 / 0.8437 GB, free: 1.953 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7057/1.288, allocations: 39.7 MB / 0.8825 GB, free: 99.43 MB / 0.6668 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002973/1.288, allocations: 291.9 kB / 0.8828 GB, free: 99.07 MB / 0.6668 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.607/5.896, allocations: 8 kB / 0.8828 GB, free: 99.07 MB / 0.6668 GB