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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.948/3.948, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.11e-05, allocations: 4.984 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2052, allocations: 98.74 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.356, allocations: 407.6 MB / 1.027 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.357, allocations: 82.27 kB / 1.027 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.075/4.432, allocations: 0.5894 GB / 1.616 GB, free: 116.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.604e-06/4.432, allocations: 0 / 1.616 GB, free: 116.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002155/4.432, allocations: 44.62 kB / 1.616 GB, free: 116.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.005755/4.438, allocations: 1.839 MB / 1.618 GB, free: 114.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/4.438, allocations: 10.22 kB / 1.618 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/4.441, allocations: 391.6 kB / 1.619 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/4.445, allocations: 1.319 MB / 1.62 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001152/4.446, allocations: 173.9 kB / 1.62 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/4.447, allocations: 64 kB / 1.62 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001979/4.449, allocations: 0.7498 MB / 1.621 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/4.451, allocations: 0.8893 MB / 1.622 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/4.451, allocations: 3.938 kB / 1.622 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/4.451, allocations: 0 / 1.622 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/4.451, allocations: 26.28 kB / 1.622 GB, free: 111.2 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.01119/4.462, allocations: 4.608 MB / 1.626 GB, free: 106.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/4.464, allocations: 0.6114 MB / 1.627 GB, free: 105.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/4.464, allocations: 297.3 kB / 1.627 GB, free: 105.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/4.466, allocations: 1.059 MB / 1.628 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000942/4.467, allocations: 405.7 kB / 1.629 GB, free: 103.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=69): time 3.677e-06/4.467, allocations: 0 / 1.629 GB, free: 103.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=69): time 0.002963/4.47, allocations: 0.7807 MB / 1.629 GB, free: 103.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/4.47, allocations: 196.5 kB / 1.63 GB, free: 102.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/4.471, allocations: 0.8623 MB / 1.63 GB, free: 102 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/4.472, allocations: 29.7 kB / 1.63 GB, free: 101.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005807/4.472, allocations: 0.6102 MB / 1.631 GB, free: 101.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/4.472, allocations: 230.7 kB / 1.631 GB, free: 101.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/4.473, allocations: 0 / 1.631 GB, free: 101.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/4.473, allocations: 345.9 kB / 1.632 GB, free: 100.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/4.473, allocations: 310.6 kB / 1.632 GB, free: 100.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009711/4.474, allocations: 0.5755 MB / 1.632 GB, free: 99.78 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/4.476, allocations: 457.2 kB / 1.633 GB, free: 99.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/4.476, allocations: 4 kB / 1.633 GB, free: 99.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003534/4.48, allocations: 1.064 MB / 1.634 GB, free: 98.27 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003441/4.48, allocations: 1.621 MB / 1.635 GB, free: 96.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/4.48, allocations: 7.984 kB / 1.635 GB, free: 96.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/4.48, allocations: 8 kB / 1.635 GB, free: 96.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/4.483, allocations: 305.9 kB / 1.636 GB, free: 96.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007447/4.484, allocations: 1.209 MB / 1.637 GB, free: 94.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/4.486, allocations: 178.4 kB / 1.637 GB, free: 94.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/4.487, allocations: 59.95 kB / 1.637 GB, free: 94.77 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/4.487, allocations: 4 kB / 1.637 GB, free: 94.76 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003142/4.49, allocations: 0.8914 MB / 1.638 GB, free: 93.87 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/4.49, allocations: 6.844 kB / 1.638 GB, free: 93.87 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/4.49, allocations: 12 kB / 1.638 GB, free: 93.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/4.492, allocations: 273.7 kB / 1.638 GB, free: 93.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/4.492, allocations: 19.92 kB / 1.638 GB, free: 93.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/4.494, allocations: 156.7 kB / 1.638 GB, free: 93.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/4.495, allocations: 51.97 kB / 1.639 GB, free: 93.38 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.0003683/4.495, allocations: 132.7 kB / 1.639 GB, free: 93.24 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002809/4.498, allocations: 0.7669 MB / 1.639 GB, free: 92.47 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/4.498, allocations: 128.8 kB / 1.64 GB, free: 92.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/4.502, allocations: 1.031 MB / 1.641 GB, free: 91.31 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/4.502, allocations: 12 kB / 1.641 GB, free: 91.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/4.502, allocations: 3.875 kB / 1.641 GB, free: 91.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/4.502, allocations: 10.33 kB / 1.641 GB, free: 91.29 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005697/4.508, allocations: 2.109 MB / 1.643 GB, free: 89.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/4.508, allocations: 0 / 1.643 GB, free: 89.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/4.509, allocations: 225.8 kB / 1.643 GB, free: 88.94 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/4.51, allocations: 4 kB / 1.643 GB, free: 88.93 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.903e-05/4.51, allocations: 19.97 kB / 1.643 GB, free: 88.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000512/4.51, allocations: 1.186 MB / 1.644 GB, free: 87.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/4.51, allocations: 4.031 kB / 1.644 GB, free: 87.68 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/4.514, allocations: 1.516 MB / 1.645 GB, free: 86.12 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008792/4.515, allocations: 339 kB / 1.646 GB, free: 85.77 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/4.515, allocations: 6.312 kB / 1.646 GB, free: 85.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/4.517, allocations: 118.8 kB / 1.646 GB, free: 85.66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/4.518, allocations: 60.69 kB / 1.646 GB, free: 85.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/4.518, allocations: 39.97 kB / 1.646 GB, free: 85.56 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001144/4.519, allocations: 0.6382 MB / 1.647 GB, free: 84.92 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.51e-07/4.519, allocations: 0 / 1.647 GB, free: 84.92 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003611/4.522, allocations: 0.8586 MB / 1.647 GB, free: 84.06 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.006448/4.529, allocations: 3.157 MB / 1.651 GB, free: 80.95 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003894/4.533, allocations: 1.518 MB / 1.652 GB, free: 79.39 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/4.533, allocations: 4.625 kB / 1.652 GB, free: 79.39 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/4.534, allocations: 439 kB / 1.652 GB, free: 78.96 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004022/4.538, allocations: 446.8 kB / 1.653 GB, free: 78.53 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/4.545, allocations: 2.067 MB / 1.655 GB, free: 76.41 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/4.545, allocations: 1.197 MB / 1.656 GB, free: 75.18 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002959/4.548, allocations: 387.4 kB / 1.656 GB, free: 74.82 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/4.549, allocations: 0.5305 MB / 1.657 GB, free: 74.29 MB / 0.823 GB Notification: Performance of SimCode: time 9.52e-07/4.549, allocations: 0 / 1.657 GB, free: 74.29 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/4.669, allocations: 39.45 MB / 1.696 GB, free: 35.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/4.67, allocations: 219.8 kB / 1.696 GB, free: 34.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.442/9.112, allocations: 3.938 kB / 1.696 GB, free: 34.89 MB / 0.823 GB