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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.929/3.929, allocations: 433.4 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.541e-05, allocations: 8 kB / 0.5325 GB, free: 1.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5022, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.517, allocations: 407.6 MB / 1.027 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.517, allocations: 96.44 kB / 1.027 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.621/4.138, allocations: 0.5893 GB / 1.616 GB, free: 95.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.485e-06/4.138, allocations: 0 / 1.616 GB, free: 95.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001637/4.138, allocations: 49.08 kB / 1.616 GB, free: 95.27 MB / 0.8073 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.00432/4.143, allocations: 1.834 MB / 1.618 GB, free: 93.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/4.143, allocations: 10.84 kB / 1.618 GB, free: 93.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/4.145, allocations: 386.5 kB / 1.619 GB, free: 93.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/4.148, allocations: 1.327 MB / 1.62 GB, free: 91.69 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006798/4.149, allocations: 173.8 kB / 1.62 GB, free: 91.53 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/4.149, allocations: 60.69 kB / 1.62 GB, free: 91.47 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/4.151, allocations: 0.7459 MB / 1.621 GB, free: 90.72 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/4.153, allocations: 0.9041 MB / 1.622 GB, free: 89.77 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/4.153, allocations: 0 / 1.622 GB, free: 89.77 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/4.153, allocations: 0 / 1.622 GB, free: 89.77 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/4.153, allocations: 25.75 kB / 1.622 GB, free: 89.75 MB / 0.8073 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.008969/4.162, allocations: 4.609 MB / 1.626 GB, free: 84.97 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/4.164, allocations: 0.6026 MB / 1.627 GB, free: 84.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/4.164, allocations: 294.5 kB / 1.627 GB, free: 84.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009983/4.165, allocations: 1.056 MB / 1.628 GB, free: 82.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007849/4.166, allocations: 395.9 kB / 1.629 GB, free: 82.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=69): time 4.425e-06/4.166, allocations: 0 / 1.629 GB, free: 82.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=69): time 0.002598/4.169, allocations: 0.7901 MB / 1.629 GB, free: 81.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/4.169, allocations: 194.6 kB / 1.63 GB, free: 81.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/4.17, allocations: 0.8701 MB / 1.63 GB, free: 80.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002398/4.171, allocations: 25.7 kB / 1.63 GB, free: 80.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00065/4.171, allocations: 0.6141 MB / 1.631 GB, free: 79.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/4.172, allocations: 228.5 kB / 1.631 GB, free: 79.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/4.172, allocations: 6.406 kB / 1.631 GB, free: 79.61 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/4.172, allocations: 341.9 kB / 1.632 GB, free: 79.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006803/4.172, allocations: 310.6 kB / 1.632 GB, free: 78.97 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/4.173, allocations: 0.5827 MB / 1.632 GB, free: 78.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/4.175, allocations: 457.8 kB / 1.633 GB, free: 77.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.897e-06/4.175, allocations: 0 / 1.633 GB, free: 77.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003449/4.179, allocations: 1.061 MB / 1.634 GB, free: 76.78 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003442/4.179, allocations: 1.622 MB / 1.635 GB, free: 75.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/4.179, allocations: 7.984 kB / 1.635 GB, free: 75.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.854e-05/4.179, allocations: 8 kB / 1.635 GB, free: 75.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/4.181, allocations: 299.6 kB / 1.636 GB, free: 74.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006636/4.182, allocations: 1.211 MB / 1.637 GB, free: 73.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/4.184, allocations: 178.4 kB / 1.637 GB, free: 73.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/4.184, allocations: 59.94 kB / 1.637 GB, free: 73.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/4.184, allocations: 4 kB / 1.637 GB, free: 73.25 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002863/4.187, allocations: 0.9012 MB / 1.638 GB, free: 72.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/4.187, allocations: 4 kB / 1.638 GB, free: 72.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/4.187, allocations: 12 kB / 1.638 GB, free: 72.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/4.188, allocations: 275.7 kB / 1.638 GB, free: 72.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/4.188, allocations: 11.98 kB / 1.638 GB, free: 72.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/4.19, allocations: 159.2 kB / 1.638 GB, free: 71.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/4.19, allocations: 55.97 kB / 1.639 GB, free: 71.84 MB / 0.8073 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.0003241/4.191, allocations: 138.8 kB / 1.639 GB, free: 71.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/4.191, allocations: 130.3 kB / 1.639 GB, free: 71.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/4.194, allocations: 1.033 MB / 1.64 GB, free: 70.53 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/4.194, allocations: 8 kB / 1.64 GB, free: 70.52 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.5e-06/4.194, allocations: 0 / 1.64 GB, free: 70.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/4.194, allocations: 3.984 kB / 1.64 GB, free: 70.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005268/4.2, allocations: 2.118 MB / 1.642 GB, free: 68.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/4.2, allocations: 4 kB / 1.642 GB, free: 68.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/4.201, allocations: 223.4 kB / 1.642 GB, free: 68.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/4.201, allocations: 4 kB / 1.642 GB, free: 68.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-05/4.201, allocations: 19.98 kB / 1.642 GB, free: 68.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004863/4.202, allocations: 1.188 MB / 1.643 GB, free: 66.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.936e-06/4.202, allocations: 3.938 kB / 1.643 GB, free: 66.87 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/4.206, allocations: 1.504 MB / 1.645 GB, free: 65.32 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/4.206, allocations: 339 kB / 1.645 GB, free: 64.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/4.207, allocations: 11.95 kB / 1.645 GB, free: 64.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/4.208, allocations: 119.8 kB / 1.645 GB, free: 64.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/4.209, allocations: 60.69 kB / 1.645 GB, free: 64.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/4.209, allocations: 43.91 kB / 1.645 GB, free: 64.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001138/4.21, allocations: 0.6343 MB / 1.646 GB, free: 64.1 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.14e-07/4.21, allocations: 4 kB / 1.646 GB, free: 64.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003358/4.213, allocations: 0.8591 MB / 1.647 GB, free: 63.23 MB / 0.8073 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.002173/4.216, allocations: 0.9111 MB / 1.648 GB, free: 62.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003465/4.219, allocations: 1.529 MB / 1.649 GB, free: 60.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/4.219, allocations: 0 / 1.649 GB, free: 60.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/4.22, allocations: 434.8 kB / 1.65 GB, free: 60.35 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/4.223, allocations: 458.3 kB / 1.65 GB, free: 59.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/4.227, allocations: 1.71 MB / 1.652 GB, free: 58.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/4.228, allocations: 1.2 MB / 1.653 GB, free: 56.92 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002604/4.23, allocations: 379.9 kB / 1.653 GB, free: 56.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/4.231, allocations: 99.39 kB / 1.653 GB, free: 56.46 MB / 0.8073 GB Notification: Performance of SimCode: time 2.152e-06/4.231, allocations: 4 kB / 1.653 GB, free: 56.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.05899/4.29, allocations: 27.76 MB / 1.68 GB, free: 28.92 MB / 0.8073 GB