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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 4.217/4.217, allocations: 432.6 MB / 445.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.243e-05/4.257e-05, allocations: 5.219 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2163, allocations: 98.74 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/1.414, allocations: 408.3 MB / 1.033 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/1.415, allocations: 89.61 kB / 1.033 GB, free: 14.13 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.194/4.608, allocations: 0.5925 GB / 1.626 GB, free: 97.79 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.695e-06/4.609, allocations: 0 / 1.626 GB, free: 97.79 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002978/4.609, allocations: 39.98 kB / 1.626 GB, free: 97.75 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.005976/4.615, allocations: 1.84 MB / 1.628 GB, free: 95.87 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/4.615, allocations: 8.031 kB / 1.628 GB, free: 95.86 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000353/4.615, allocations: 135.3 kB / 1.628 GB, free: 95.72 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/4.618, allocations: 392.3 kB / 1.628 GB, free: 95.35 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/4.623, allocations: 1.331 MB / 1.63 GB, free: 93.97 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001178/4.624, allocations: 210.6 kB / 1.63 GB, free: 93.78 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003745/4.624, allocations: 102.4 kB / 1.63 GB, free: 93.68 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/4.627, allocations: 1.021 MB / 1.631 GB, free: 92.61 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/4.627, allocations: 4 kB / 1.631 GB, free: 92.61 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/4.627, allocations: 32 kB / 1.631 GB, free: 92.57 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/4.627, allocations: 20 kB / 1.631 GB, free: 92.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/4.629, allocations: 0.7985 MB / 1.632 GB, free: 91.76 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.01209/4.641, allocations: 4.791 MB / 1.636 GB, free: 86.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/4.643, allocations: 0.6375 MB / 1.637 GB, free: 86.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007418/4.644, allocations: 314.4 kB / 1.637 GB, free: 85.79 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/4.645, allocations: 1.059 MB / 1.638 GB, free: 84.51 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/4.646, allocations: 418.8 kB / 1.639 GB, free: 84.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=69): time 4.028e-06/4.646, allocations: 0 / 1.639 GB, free: 84.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=69): time 0.002397/4.649, allocations: 0.7433 MB / 1.64 GB, free: 83.34 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/4.649, allocations: 192.4 kB / 1.64 GB, free: 83.11 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/4.651, allocations: 1.039 MB / 1.641 GB, free: 82.07 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003283/4.651, allocations: 49.7 kB / 1.641 GB, free: 82.01 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006487/4.652, allocations: 0.615 MB / 1.641 GB, free: 81.39 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/4.652, allocations: 232.6 kB / 1.642 GB, free: 81.16 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/4.652, allocations: 26.16 kB / 1.642 GB, free: 81.14 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.036e-05/4.652, allocations: 341.9 kB / 1.642 GB, free: 80.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008864/4.653, allocations: 322 kB / 1.642 GB, free: 80.48 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/4.655, allocations: 0.6058 MB / 1.643 GB, free: 79.78 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/4.656, allocations: 414.2 kB / 1.643 GB, free: 79.38 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/4.656, allocations: 4 kB / 1.643 GB, free: 79.37 MB / 0.823 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003057/4.659, allocations: 1.079 MB / 1.644 GB, free: 78.28 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000357/4.659, allocations: 1.629 MB / 1.646 GB, free: 76.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/4.659, allocations: 8 kB / 1.646 GB, free: 76.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.778e-05/4.659, allocations: 12 kB / 1.646 GB, free: 76.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/4.662, allocations: 295.6 kB / 1.646 GB, free: 76.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007581/4.663, allocations: 1.203 MB / 1.647 GB, free: 74.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/4.665, allocations: 206.9 kB / 1.648 GB, free: 74.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000267/4.666, allocations: 55.95 kB / 1.648 GB, free: 74.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/4.666, allocations: 8 kB / 1.648 GB, free: 74.72 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002515/4.668, allocations: 0.9268 MB / 1.649 GB, free: 73.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/4.668, allocations: 4 kB / 1.649 GB, free: 73.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/4.668, allocations: 8.5 kB / 1.649 GB, free: 73.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/4.671, allocations: 287.5 kB / 1.649 GB, free: 73.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/4.671, allocations: 11.98 kB / 1.649 GB, free: 73.48 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/4.673, allocations: 194.9 kB / 1.649 GB, free: 73.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/4.673, allocations: 59.95 kB / 1.649 GB, free: 73.23 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.0004172/4.674, allocations: 165.9 kB / 1.649 GB, free: 73.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00052/4.674, allocations: 142.2 kB / 1.649 GB, free: 72.93 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/4.677, allocations: 1.026 MB / 1.65 GB, free: 71.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/4.678, allocations: 11.98 kB / 1.65 GB, free: 71.86 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/4.678, allocations: 4 kB / 1.65 GB, free: 71.86 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/4.678, allocations: 7.922 kB / 1.65 GB, free: 71.85 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/4.683, allocations: 2.211 MB / 1.653 GB, free: 69.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/4.683, allocations: 0 / 1.653 GB, free: 69.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/4.685, allocations: 219.8 kB / 1.653 GB, free: 69.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.777e-05/4.685, allocations: 4 kB / 1.653 GB, free: 69.35 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/4.685, allocations: 27.97 kB / 1.653 GB, free: 69.32 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005405/4.686, allocations: 1.191 MB / 1.654 GB, free: 68.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/4.686, allocations: 0 / 1.654 GB, free: 68.09 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/4.69, allocations: 1.508 MB / 1.655 GB, free: 66.52 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/4.691, allocations: 354.9 kB / 1.656 GB, free: 66.16 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/4.691, allocations: 16 kB / 1.656 GB, free: 66.14 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/4.693, allocations: 143.7 kB / 1.656 GB, free: 66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/4.694, allocations: 56.69 kB / 1.656 GB, free: 65.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/4.694, allocations: 39.97 kB / 1.656 GB, free: 65.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001864/4.696, allocations: 0.7807 MB / 1.657 GB, free: 65.12 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.62e-07/4.696, allocations: 4 kB / 1.657 GB, free: 65.12 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003946/4.7, allocations: 0.8869 MB / 1.658 GB, free: 64.23 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.006315/4.706, allocations: 3.156 MB / 1.661 GB, free: 61.04 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004541/4.711, allocations: 1.588 MB / 1.662 GB, free: 59.41 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/4.711, allocations: 4.125 kB / 1.662 GB, free: 59.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/4.712, allocations: 460.3 kB / 1.663 GB, free: 58.96 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/4.717, allocations: 0.5732 MB / 1.663 GB, free: 58.39 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007517/4.725, allocations: 2.144 MB / 1.665 GB, free: 56.18 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/4.726, allocations: 1.205 MB / 1.667 GB, free: 54.95 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003441/4.729, allocations: 414.7 kB / 1.667 GB, free: 54.54 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/4.73, allocations: 0.5382 MB / 1.667 GB, free: 54 MB / 0.823 GB Notification: Performance of SimCode: time 1.643e-06/4.73, allocations: 0 / 1.667 GB, free: 54 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/4.849, allocations: 47.72 MB / 1.714 GB, free: 6.695 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003247/4.85, allocations: 265.1 kB / 1.714 GB, free: 6.355 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.767/9.616, allocations: 4 kB / 1.714 GB, free: 6.352 MB / 0.823 GB