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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01668/0.01668, allocations: 106.6 kB / 15.05 MB, free: 5.98 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.002004/0.002004, allocations: 185.5 kB / 15.94 MB, free: 5.938 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 2.165/2.165, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.234/2.234, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005005, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7153, allocations: 98.71 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.235/1.95, allocations: 408.3 MB / 1.082 GB, free: 40.36 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/1.95, allocations: 93.03 kB / 1.082 GB, free: 40.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.331/5.282, allocations: 0.5943 GB / 1.677 GB, free: 150.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.164e-06/5.282, allocations: 0 / 1.677 GB, free: 150.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002747/5.282, allocations: 47.28 kB / 1.677 GB, free: 150.2 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.008158/5.29, allocations: 2.121 MB / 1.679 GB, free: 149 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/5.29, allocations: 6.656 kB / 1.679 GB, free: 149 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005769/5.291, allocations: 135.9 kB / 1.679 GB, free: 149 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/5.294, allocations: 389 kB / 1.679 GB, free: 148.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/5.299, allocations: 1.34 MB / 1.681 GB, free: 148.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001299/5.301, allocations: 212.6 kB / 1.681 GB, free: 148.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004787/5.301, allocations: 105 kB / 1.681 GB, free: 148.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/5.305, allocations: 1.163 MB / 1.682 GB, free: 148.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/5.305, allocations: 0 / 1.682 GB, free: 148.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/5.306, allocations: 41.78 kB / 1.682 GB, free: 148.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/5.306, allocations: 27.81 kB / 1.682 GB, free: 148.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004957/5.311, allocations: 1.067 MB / 1.683 GB, free: 147.9 MB / 0.823 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.01341/5.324, allocations: 4.786 MB / 1.688 GB, free: 144.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004616/5.329, allocations: 0.953 MB / 1.689 GB, free: 144.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/5.33, allocations: 1.058 MB / 1.69 GB, free: 143.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002423/5.333, allocations: 0.543 MB / 1.69 GB, free: 143.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=69): time 4.618e-06/5.333, allocations: 0 / 1.69 GB, free: 143.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=69): time 0.006784/5.339, allocations: 1.393 MB / 1.692 GB, free: 142.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/5.34, allocations: 188.1 kB / 1.692 GB, free: 142.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/5.342, allocations: 1.055 MB / 1.693 GB, free: 142.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/5.343, allocations: 52.58 kB / 1.693 GB, free: 142.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007013/5.343, allocations: 0.601 MB / 1.693 GB, free: 141.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/5.344, allocations: 244.4 kB / 1.694 GB, free: 141.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/5.344, allocations: 19.88 kB / 1.694 GB, free: 141.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001044/5.344, allocations: 340.8 kB / 1.694 GB, free: 141.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/5.346, allocations: 466.3 kB / 1.694 GB, free: 141.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/5.349, allocations: 0.7521 MB / 1.695 GB, free: 140.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/5.351, allocations: 0.5306 MB / 1.696 GB, free: 140.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/5.351, allocations: 3.375 kB / 1.696 GB, free: 140.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006057/5.357, allocations: 1.36 MB / 1.697 GB, free: 140 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004118/5.358, allocations: 1.632 MB / 1.699 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/5.358, allocations: 11.56 kB / 1.699 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.768e-05/5.358, allocations: 7.531 kB / 1.699 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002912/5.361, allocations: 299.2 kB / 1.699 GB, free: 138.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007995/5.362, allocations: 1.2 MB / 1.7 GB, free: 137.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/5.365, allocations: 216.2 kB / 1.7 GB, free: 137 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003891/5.365, allocations: 53.97 kB / 1.7 GB, free: 137 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/5.365, allocations: 7.875 kB / 1.7 GB, free: 137 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005157/5.37, allocations: 1.178 MB / 1.702 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/5.37, allocations: 11.27 kB / 1.702 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/5.37, allocations: 7.125 kB / 1.702 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/5.373, allocations: 276.8 kB / 1.702 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/5.373, allocations: 15.23 kB / 1.702 GB, free: 136.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/5.376, allocations: 202.7 kB / 1.702 GB, free: 136.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003535/5.376, allocations: 56.17 kB / 1.702 GB, free: 136.5 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 () * Number of clocked 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.001221/5.377, allocations: 378.4 kB / 1.702 GB, free: 136.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005881/5.378, allocations: 144.3 kB / 1.703 GB, free: 136.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005757/5.384, allocations: 1.307 MB / 1.704 GB, free: 135.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-05/5.384, allocations: 14.25 kB / 1.704 GB, free: 135.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/5.384, allocations: 0 / 1.704 GB, free: 135.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/5.384, allocations: 3.141 kB / 1.704 GB, free: 135.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008528/5.392, allocations: 2.487 MB / 1.706 GB, free: 134.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/5.392, allocations: 0 / 1.706 GB, free: 134.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/5.394, allocations: 216.9 kB / 1.706 GB, free: 134.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/5.394, allocations: 2.969 kB / 1.706 GB, free: 134.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/5.394, allocations: 26.64 kB / 1.707 GB, free: 134.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005641/5.395, allocations: 1.19 MB / 1.708 GB, free: 133.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/5.395, allocations: 3.984 kB / 1.708 GB, free: 133.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007227/5.402, allocations: 1.933 MB / 1.71 GB, free: 132.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/5.404, allocations: 349.7 kB / 1.71 GB, free: 132 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/5.404, allocations: 15 kB / 1.71 GB, free: 132 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/5.406, allocations: 135 kB / 1.71 GB, free: 131.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/5.407, allocations: 66.56 kB / 1.71 GB, free: 131.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/5.407, allocations: 38.97 kB / 1.71 GB, free: 131.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001779/5.408, allocations: 0.8001 MB / 1.711 GB, free: 131.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.683e-06/5.409, allocations: 3.938 kB / 1.711 GB, free: 131.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004402/5.413, allocations: 0.8851 MB / 1.712 GB, free: 131.2 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) * 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.01033/5.423, allocations: 3.566 MB / 1.715 GB, free: 129.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008249/5.432, allocations: 1.944 MB / 1.717 GB, free: 128.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/5.432, allocations: 0 / 1.717 GB, free: 128.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002455/5.434, allocations: 0.5866 MB / 1.718 GB, free: 127.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005281/5.439, allocations: 0.58 MB / 1.718 GB, free: 127.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/5.45, allocations: 6.298 MB / 1.724 GB, free: 122.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/5.451, allocations: 1.206 MB / 1.726 GB, free: 121.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002821/5.454, allocations: 342 kB / 1.726 GB, free: 121.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/5.455, allocations: 0.5527 MB / 1.727 GB, free: 120.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.784e-06/5.455, allocations: 0 / 1.727 GB, free: 120.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1144/5.57, allocations: 44.6 MB / 1.77 GB, free: 77.99 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/5.57, allocations: 296.9 kB / 1.77 GB, free: 77.63 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.791/10.36, allocations: 3.781 kB / 1.77 GB, free: 77.63 MB / 0.823 GB