Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.814/3.814, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.499e-05, allocations: 5.531 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1722, allocations: 98.72 MB / 0.6347 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.174, allocations: 408.3 MB / 1.033 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/1.175, allocations: 88.06 kB / 1.033 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.842/4.016, allocations: 0.5925 GB / 1.626 GB, free: 101.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.023e-06/4.016, allocations: 0 / 1.626 GB, free: 101.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001812/4.017, allocations: 47.91 kB / 1.626 GB, free: 101.7 MB / 0.823 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.004308/4.021, allocations: 1.836 MB / 1.628 GB, free: 99.83 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/4.021, allocations: 8.031 kB / 1.628 GB, free: 99.82 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/4.023, allocations: 387.8 kB / 1.628 GB, free: 99.45 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/4.027, allocations: 1.323 MB / 1.63 GB, free: 98.08 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007035/4.027, allocations: 216.1 kB / 1.63 GB, free: 97.88 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/4.028, allocations: 104.7 kB / 1.63 GB, free: 97.78 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/4.03, allocations: 1.021 MB / 1.631 GB, free: 96.71 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/4.03, allocations: 0 / 1.631 GB, free: 96.71 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/4.03, allocations: 40 kB / 1.631 GB, free: 96.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/4.03, allocations: 20 kB / 1.631 GB, free: 96.66 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/4.032, allocations: 0.7927 MB / 1.632 GB, free: 95.86 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.009303/4.041, allocations: 4.787 MB / 1.636 GB, free: 90.84 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/4.043, allocations: 0.6362 MB / 1.637 GB, free: 90.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/4.044, allocations: 314.4 kB / 1.637 GB, free: 89.89 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/4.046, allocations: 1.062 MB / 1.638 GB, free: 88.61 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/4.047, allocations: 419 kB / 1.639 GB, free: 88.19 MB / 0.823 GB Notification: Performance of pre-optimization done (n=69): time 7.548e-06/4.047, allocations: 0 / 1.639 GB, free: 88.19 MB / 0.823 GB Notification: Performance of matching and sorting (n=69): time 0.003431/4.051, allocations: 0.7433 MB / 1.639 GB, free: 87.44 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/4.051, allocations: 188.5 kB / 1.64 GB, free: 87.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/4.054, allocations: 1.032 MB / 1.641 GB, free: 86.17 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003783/4.055, allocations: 49.7 kB / 1.641 GB, free: 86.12 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008839/4.056, allocations: 0.6119 MB / 1.641 GB, free: 85.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/4.056, allocations: 235.1 kB / 1.641 GB, free: 85.27 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/4.056, allocations: 23.98 kB / 1.641 GB, free: 85.24 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001304/4.056, allocations: 349.8 kB / 1.642 GB, free: 84.89 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/4.058, allocations: 322 kB / 1.642 GB, free: 84.58 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/4.06, allocations: 0.6092 MB / 1.643 GB, free: 83.88 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/4.062, allocations: 406.9 kB / 1.643 GB, free: 83.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/4.062, allocations: 0 / 1.643 GB, free: 83.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004674/4.066, allocations: 1.079 MB / 1.644 GB, free: 82.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004168/4.067, allocations: 1.636 MB / 1.646 GB, free: 80.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/4.067, allocations: 4 kB / 1.646 GB, free: 80.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-05/4.067, allocations: 12 kB / 1.646 GB, free: 80.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/4.07, allocations: 303.5 kB / 1.646 GB, free: 80.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009637/4.071, allocations: 1.195 MB / 1.647 GB, free: 79.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/4.075, allocations: 223 kB / 1.647 GB, free: 78.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004571/4.075, allocations: 51.97 kB / 1.647 GB, free: 78.83 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/4.075, allocations: 4 kB / 1.648 GB, free: 78.83 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003846/4.079, allocations: 0.9233 MB / 1.648 GB, free: 77.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.041e-05/4.079, allocations: 11.98 kB / 1.648 GB, free: 77.89 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/4.079, allocations: 8 kB / 1.648 GB, free: 77.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/4.082, allocations: 282.5 kB / 1.649 GB, free: 77.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.014e-05/4.082, allocations: 8 kB / 1.649 GB, free: 77.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/4.085, allocations: 195 kB / 1.649 GB, free: 77.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/4.086, allocations: 51.97 kB / 1.649 GB, free: 77.36 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * 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.0005187/4.086, allocations: 174.1 kB / 1.649 GB, free: 77.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006415/4.087, allocations: 150.1 kB / 1.649 GB, free: 77.03 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004265/4.091, allocations: 1.022 MB / 1.65 GB, free: 75.99 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.289e-05/4.091, allocations: 8 kB / 1.65 GB, free: 75.98 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/4.091, allocations: 3.938 kB / 1.65 GB, free: 75.98 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/4.091, allocations: 3.984 kB / 1.65 GB, free: 75.98 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008498/4.1, allocations: 2.23 MB / 1.652 GB, free: 73.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/4.1, allocations: 0 / 1.652 GB, free: 73.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/4.102, allocations: 223.8 kB / 1.653 GB, free: 73.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.403e-05/4.103, allocations: 11.44 kB / 1.653 GB, free: 73.45 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000205/4.103, allocations: 31.97 kB / 1.653 GB, free: 73.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007039/4.103, allocations: 1.184 MB / 1.654 GB, free: 72.19 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.128e-06/4.104, allocations: 4.031 kB / 1.654 GB, free: 72.18 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00535/4.109, allocations: 1.515 MB / 1.655 GB, free: 70.61 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/4.111, allocations: 346.9 kB / 1.656 GB, free: 70.25 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008926/4.112, allocations: 23.98 kB / 1.656 GB, free: 70.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004314/4.116, allocations: 123.8 kB / 1.656 GB, free: 70.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004379/4.117, allocations: 72.67 kB / 1.656 GB, free: 70.04 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/4.117, allocations: 39.97 kB / 1.656 GB, free: 70 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001668/4.119, allocations: 0.7807 MB / 1.657 GB, free: 69.21 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.107e-06/4.119, allocations: 0 / 1.657 GB, free: 69.21 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003767/4.122, allocations: 0.8816 MB / 1.658 GB, free: 68.33 MB / 0.823 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) * 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.002226/4.125, allocations: 0.9168 MB / 1.658 GB, free: 67.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003904/4.129, allocations: 1.588 MB / 1.66 GB, free: 65.79 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.921e-06/4.129, allocations: 0 / 1.66 GB, free: 65.79 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/4.13, allocations: 464.2 kB / 1.66 GB, free: 65.34 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/4.133, allocations: 0.5773 MB / 1.661 GB, free: 64.77 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/4.138, allocations: 1.753 MB / 1.663 GB, free: 62.97 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/4.138, allocations: 1.209 MB / 1.664 GB, free: 61.73 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002814/4.141, allocations: 414.7 kB / 1.664 GB, free: 61.32 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/4.142, allocations: 99.39 kB / 1.664 GB, free: 61.22 MB / 0.823 GB Notification: Performance of SimCode: time 2.238e-06/4.142, allocations: 4 kB / 1.664 GB, free: 61.22 MB / 0.823 GB Notification: Performance of Templates: time 0.07081/4.212, allocations: 34.17 MB / 1.698 GB, free: 27.32 MB / 0.823 GB