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: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009238/0.009242, allocations: 107.6 kB / 15.06 MB, free: 5.559 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.00113/0.00113, allocations: 181 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 1.939/1.939, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.15/2.15, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004777, allocations: 15.98 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.5355, allocations: 98.72 MB / 0.6833 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.05427/0.5898, allocations: 40.03 MB / 0.7224 GB, free: 3.41 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02669/0.6165, allocations: 13.05 MB / 0.7352 GB, free: 9.234 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.6191, allocations: 54.69 kB / 0.7352 GB, free: 9.199 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.622, allocations: 0.649 MB / 0.7359 GB, free: 8.547 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.007347/0.6294, allocations: 1.811 MB / 0.7376 GB, free: 6.727 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.01103/0.6405, allocations: 2.779 MB / 0.7403 GB, free: 3.945 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.005099/0.6456, allocations: 2.164 MB / 0.7425 GB, free: 1.777 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.6477, allocations: 0.9346 MB / 0.7434 GB, free: 0.8242 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.651, allocations: 1.179 MB / 0.7445 GB, free: 15.64 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.6526, allocations: 0.7349 MB / 0.7452 GB, free: 14.9 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.6529, allocations: 52 kB / 0.7453 GB, free: 14.85 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004945/0.6579, allocations: 1.853 MB / 0.7471 GB, free: 13 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000556/0.6585, allocations: 250.8 kB / 0.7473 GB, free: 12.75 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006153/0.6591, allocations: 308.9 kB / 0.7476 GB, free: 12.44 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.6633, allocations: 2.023 MB / 0.7496 GB, free: 10.41 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.963e-06/0.6634, allocations: 0 / 0.7496 GB, free: 10.41 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.779e-06/0.6634, allocations: 0 / 0.7496 GB, free: 10.41 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.352e-05/0.6634, allocations: 4 kB / 0.7496 GB, free: 10.41 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.004356/0.6678, allocations: 1.839 MB / 0.7514 GB, free: 8.508 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6679, allocations: 8.031 kB / 0.7514 GB, free: 8.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002122/0.67, allocations: 421.6 kB / 0.7518 GB, free: 8.086 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002766/0.6728, allocations: 1.114 MB / 0.7529 GB, free: 6.922 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007833/0.6736, allocations: 206.2 kB / 0.7531 GB, free: 6.719 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.6739, allocations: 100 kB / 0.7532 GB, free: 6.621 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/0.677, allocations: 1.118 MB / 0.7543 GB, free: 5.461 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.6771, allocations: 3.938 kB / 0.7543 GB, free: 5.457 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.6772, allocations: 43.98 kB / 0.7543 GB, free: 5.414 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.6773, allocations: 20 kB / 0.7544 GB, free: 5.395 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003684/0.681, allocations: 1.046 MB / 0.7554 GB, free: 4.348 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.01042/0.6914, allocations: 4.781 MB / 0.76 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/0.6948, allocations: 0.9114 MB / 0.7609 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/0.6964, allocations: 1.084 MB / 0.762 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001793/0.6982, allocations: 0.5261 MB / 0.7625 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=69): time 4.27e-06/0.6982, allocations: 0 / 0.7625 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=69): time 0.004989/0.7032, allocations: 1.348 MB / 0.7638 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.7034, allocations: 137.1 kB / 0.764 GB, free: 11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.7057, allocations: 1.207 MB / 0.7651 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.7059, allocations: 41.7 kB / 0.7652 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007259/0.7066, allocations: 0.6186 MB / 0.7658 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/0.7069, allocations: 232.6 kB / 0.766 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.707, allocations: 20 kB / 0.766 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.7072, allocations: 349.9 kB / 0.7664 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.709, allocations: 461.7 kB / 0.7668 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.711, allocations: 0.7003 MB / 0.7675 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.7129, allocations: 0.5277 MB / 0.768 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.7129, allocations: 0 / 0.768 GB, free: 6.738 MB / 0.5886 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004503/0.7174, allocations: 1.345 MB / 0.7693 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009193/0.7184, allocations: 1.713 MB / 0.771 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/0.7184, allocations: 7.953 kB / 0.771 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.072e-05/0.7185, allocations: 12 kB / 0.771 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.7206, allocations: 315.6 kB / 0.7713 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009961/0.7216, allocations: 1.188 MB / 0.7725 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.7235, allocations: 218.8 kB / 0.7727 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.7237, allocations: 55.95 kB / 0.7727 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7237, allocations: 4 kB / 0.7727 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003998/0.7277, allocations: 1.192 MB / 0.7739 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/0.7278, allocations: 8 kB / 0.7739 GB, free: 0.5117 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.7278, allocations: 8 kB / 0.7739 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.7294, allocations: 279.8 kB / 0.7742 GB, free: 236 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.7294, allocations: 15.92 kB / 0.7742 GB, free: 220 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.7312, allocations: 192.9 kB / 0.7744 GB, free: 28 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/0.7314, allocations: 51.97 kB / 0.7744 GB, free: 15.98 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.0008689/0.7323, allocations: 379.5 kB / 0.7748 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/0.7327, allocations: 142.3 kB / 0.7749 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.7368, allocations: 1.283 MB / 0.7762 GB, free: 14.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.7369, allocations: 8 kB / 0.7762 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.237e-06/0.7369, allocations: 3.938 kB / 0.7762 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/0.737, allocations: 11.97 kB / 0.7762 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006665/0.7436, allocations: 2.452 MB / 0.7786 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.58e-06/0.7437, allocations: 0 / 0.7786 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.7451, allocations: 207.8 kB / 0.7788 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.855e-05/0.7451, allocations: 8 kB / 0.7788 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.7452, allocations: 27.98 kB / 0.7788 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008781/0.7461, allocations: 1.187 MB / 0.78 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.785e-06/0.7461, allocations: 3.984 kB / 0.78 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006125/0.7523, allocations: 1.877 MB / 0.7818 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009196/0.7532, allocations: 362.8 kB / 0.7822 GB, free: 7.832 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/0.7535, allocations: 19.94 kB / 0.7822 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001401/0.7549, allocations: 123.9 kB / 0.7823 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/0.7551, allocations: 60.75 kB / 0.7824 GB, free: 7.633 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.7552, allocations: 39.97 kB / 0.7824 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00161/0.7569, allocations: 0.7897 MB / 0.7832 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.58e-07/0.7569, allocations: 0 / 0.7832 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002706/0.7596, allocations: 0.8037 MB / 0.784 GB, free: 6 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.001635/0.7613, allocations: 0.5849 MB / 0.7845 GB, free: 5.418 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006812/0.7681, allocations: 1.941 MB / 0.7864 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.304e-06/0.7681, allocations: 0 / 0.7864 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.7702, allocations: 0.5826 MB / 0.787 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/0.7735, allocations: 0.5747 MB / 0.7876 GB, free: 2.281 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/0.7799, allocations: 2.891 MB / 0.7904 GB, free: 15.35 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.781, allocations: 1.199 MB / 0.7915 GB, free: 14.12 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.00219/0.7832, allocations: 353.7 kB / 0.7919 GB, free: 13.79 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004696/0.7837, allocations: 127.4 kB / 0.792 GB, free: 13.67 MB / 0.6199 GB Notification: Performance of SimCode: time 1.672e-06/0.7837, allocations: 0 / 0.792 GB, free: 13.67 MB / 0.6199 GB Notification: Performance of Templates: time 0.06799/0.8517, allocations: 27.83 MB / 0.8192 GB, free: 2.121 MB / 0.6355 GB