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.WaterCooler_T.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.WaterCooler_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.91/3.91, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.695e-05/4.738e-05, allocations: 5.344 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2196, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.445, allocations: 437.9 MB / 1.062 GB, free: 1.723 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.446, allocations: 90.08 kB / 1.062 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.053/7.499, allocations: 1.124 GB / 2.187 GB, free: 119.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.004e-06/7.499, allocations: 0 / 2.187 GB, free: 119.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002995/7.499, allocations: 59.92 kB / 2.187 GB, free: 119.2 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005834/7.505, allocations: 2.099 MB / 2.189 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/7.505, allocations: 10.34 kB / 2.189 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003663/7.506, allocations: 166.5 kB / 2.189 GB, free: 118.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/7.509, allocations: 463.8 kB / 2.189 GB, free: 118 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009226/7.518, allocations: 2.291 MB / 2.192 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/7.519, allocations: 91.84 kB / 2.192 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/7.519, allocations: 124.3 kB / 2.192 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/7.522, allocations: 1.245 MB / 2.193 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/7.522, allocations: 3.688 kB / 2.193 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/7.522, allocations: 51.23 kB / 2.193 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/7.522, allocations: 32.66 kB / 2.193 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/7.524, allocations: 0.8378 MB / 2.194 GB, free: 117.2 MB / 0.8386 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.01231/7.537, allocations: 6.859 MB / 2.201 GB, free: 113.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/7.539, allocations: 1.133 MB / 2.202 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008463/7.54, allocations: 313.9 kB / 2.202 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007033/7.547, allocations: 2.884 MB / 2.205 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008659/7.548, allocations: 341.6 kB / 2.205 GB, free: 110.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001199/7.549, allocations: 95.33 kB / 2.205 GB, free: 110.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 7.675e-06/7.549, allocations: 0 / 2.205 GB, free: 110.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.002414/7.551, allocations: 0.6643 MB / 2.206 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/7.551, allocations: 169.9 kB / 2.206 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/7.554, allocations: 1.333 MB / 2.207 GB, free: 110 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002727/7.555, allocations: 45.27 kB / 2.208 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/7.556, allocations: 0.892 MB / 2.208 GB, free: 109.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/7.556, allocations: 218.4 kB / 2.209 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/7.556, allocations: 19.88 kB / 2.209 GB, free: 109.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001021/7.556, allocations: 351.9 kB / 2.209 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007462/7.557, allocations: 268.1 kB / 2.209 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/7.558, allocations: 0.7034 MB / 2.21 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009827/7.559, allocations: 434.5 kB / 2.21 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/7.559, allocations: 0 / 2.21 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003248/7.562, allocations: 1.134 MB / 2.211 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001041/7.564, allocations: 4.575 MB / 2.216 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.284e-05/7.564, allocations: 13.12 kB / 2.216 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.347e-05/7.564, allocations: 18.88 kB / 2.216 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/7.566, allocations: 250.1 kB / 2.216 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.314e-05/7.566, allocations: 23.83 kB / 2.216 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/7.568, allocations: 124 kB / 2.216 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/7.568, allocations: 56.06 kB / 2.216 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/7.568, allocations: 3.781 kB / 2.216 GB, free: 103.6 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002433/7.571, allocations: 0.9617 MB / 2.217 GB, free: 103.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.853e-05/7.571, allocations: 14.69 kB / 2.217 GB, free: 103.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/7.571, allocations: 19.41 kB / 2.217 GB, free: 103.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/7.573, allocations: 232.7 kB / 2.218 GB, free: 103.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.901e-05/7.573, allocations: 30.17 kB / 2.218 GB, free: 103.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/7.575, allocations: 110.5 kB / 2.218 GB, free: 103.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/7.575, allocations: 57.53 kB / 2.218 GB, free: 103.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000377/7.576, allocations: 169.7 kB / 2.218 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005014/7.576, allocations: 169.2 kB / 2.218 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/7.579, allocations: 0.9333 MB / 2.219 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/7.579, allocations: 14.81 kB / 2.219 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/7.579, allocations: 3.953 kB / 2.219 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/7.581, allocations: 0.7772 MB / 2.22 GB, free: 102.9 MB / 0.8386 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 postOpt removeSimpleEquations (simulation): time 0.005658/7.587, allocations: 2.106 MB / 2.222 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/7.587, allocations: 0 / 2.222 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/7.588, allocations: 131.8 kB / 2.222 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002804/7.588, allocations: 32.92 kB / 2.222 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/7.588, allocations: 23.08 kB / 2.222 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/7.59, allocations: 1.319 MB / 2.223 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/7.59, allocations: 2.156 kB / 2.223 GB, free: 101.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/7.593, allocations: 1.28 MB / 2.225 GB, free: 101 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/7.594, allocations: 332.8 kB / 2.225 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006884/7.595, allocations: 17.88 kB / 2.225 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/7.597, allocations: 99.7 kB / 2.225 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/7.598, allocations: 59.2 kB / 2.225 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/7.598, allocations: 25.81 kB / 2.225 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002369/7.6, allocations: 1.074 MB / 2.226 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.11e-07/7.6, allocations: 0 / 2.226 GB, free: 100.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004697/7.605, allocations: 1.012 MB / 2.227 GB, free: 100.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006094/7.611, allocations: 2.998 MB / 2.23 GB, free: 98.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003483/7.614, allocations: 1.549 MB / 2.232 GB, free: 98.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/7.615, allocations: 0 / 2.232 GB, free: 98.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/7.616, allocations: 459.7 kB / 2.232 GB, free: 97.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006/7.622, allocations: 0.7252 MB / 2.233 GB, free: 97.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009607/7.631, allocations: 2.789 MB / 2.235 GB, free: 96.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/7.632, allocations: 1.404 MB / 2.237 GB, free: 95.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004222/7.637, allocations: 0.6008 MB / 2.237 GB, free: 95.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/7.638, allocations: 0.6929 MB / 2.238 GB, free: 95.31 MB / 0.8386 GB Notification: Performance of SimCode: time 1.814e-06/7.638, allocations: 1.375 kB / 2.238 GB, free: 95.31 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1415/7.78, allocations: 57.34 MB / 2.294 GB, free: 55.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002887/7.78, allocations: 217.6 kB / 2.294 GB, free: 55.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.307/13.09, allocations: 0 / 2.294 GB, free: 55.21 MB / 0.8386 GB