Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.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.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_Plant_T_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.233/4.233, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.38e-05, allocations: 3.516 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.214, allocations: 98.74 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.352/1.566, allocations: 434.1 MB / 1.059 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/1.566, allocations: 95.23 kB / 1.059 GB, free: 4.691 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.972/6.538, allocations: 0.9489 GB / 2.008 GB, free: 16.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.164e-06/6.539, allocations: 0 / 2.008 GB, free: 16.29 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003022/6.539, allocations: 51.98 kB / 2.008 GB, free: 16.23 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.006282/6.545, allocations: 2.131 MB / 2.01 GB, free: 14.04 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/6.545, allocations: 12.03 kB / 2.01 GB, free: 14.03 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000342/6.546, allocations: 173.4 kB / 2.01 GB, free: 13.85 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006487/6.552, allocations: 0.7349 MB / 2.011 GB, free: 13.11 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02962/6.582, allocations: 8.697 MB / 2.019 GB, free: 4.293 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/6.582, allocations: 98.67 kB / 2.019 GB, free: 4.195 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/6.582, allocations: 143.9 kB / 2.019 GB, free: 4.055 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003402/6.586, allocations: 1.381 MB / 2.021 GB, free: 2.555 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.13e-05/6.586, allocations: 11.92 kB / 2.021 GB, free: 2.543 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/6.586, allocations: 52 kB / 2.021 GB, free: 2.492 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.137e-05/6.586, allocations: 31.94 kB / 2.021 GB, free: 2.461 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/6.589, allocations: 0.9923 MB / 2.022 GB, free: 1.461 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.01831/6.607, allocations: 8.029 MB / 2.03 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005438/6.613, allocations: 0.9236 MB / 2.03 GB, free: 7.879 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/6.614, allocations: 380.1 kB / 2.031 GB, free: 7.508 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008676/6.623, allocations: 2.925 MB / 2.034 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/6.624, allocations: 427 kB / 2.034 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001463/6.626, allocations: 191.1 kB / 2.034 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=65): time 6.342e-06/6.626, allocations: 3.984 kB / 2.034 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65): time 0.002277/6.628, allocations: 0.7468 MB / 2.035 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/6.628, allocations: 115.4 kB / 2.035 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003126/6.631, allocations: 1.321 MB / 2.036 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002781/6.631, allocations: 41.7 kB / 2.036 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/6.633, allocations: 0.9041 MB / 2.037 GB, free: 484 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/6.633, allocations: 236.7 kB / 2.038 GB, free: 244 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/6.633, allocations: 20 kB / 2.038 GB, free: 224 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.7636/7.397, allocations: 342.5 kB / 2.038 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/7.399, allocations: 318.8 kB / 2.038 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/7.401, allocations: 0.7654 MB / 2.039 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/7.403, allocations: 444.2 kB / 2.039 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/7.403, allocations: 4.844 kB / 2.039 GB, free: 100.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.005642/7.408, allocations: 1.217 MB / 2.041 GB, free: 100.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001556/7.41, allocations: 4.752 MB / 2.045 GB, free: 95.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/7.41, allocations: 13.86 kB / 2.045 GB, free: 95.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.123e-05/7.41, allocations: 19.25 kB / 2.045 GB, free: 95.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003524/7.414, allocations: 286.6 kB / 2.046 GB, free: 95.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.103e-05/7.414, allocations: 26.91 kB / 2.046 GB, free: 95.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/7.417, allocations: 153.4 kB / 2.046 GB, free: 95.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003508/7.417, allocations: 62.36 kB / 2.046 GB, free: 95.65 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/7.417, allocations: 3.469 kB / 2.046 GB, free: 95.65 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003408/7.421, allocations: 1.041 MB / 2.047 GB, free: 95.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-05/7.421, allocations: 13.38 kB / 2.047 GB, free: 95.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.755e-05/7.421, allocations: 18.16 kB / 2.047 GB, free: 95.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/7.423, allocations: 285 kB / 2.047 GB, free: 95.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.194e-05/7.423, allocations: 24.95 kB / 2.047 GB, free: 95.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003067/7.427, allocations: 147.7 kB / 2.047 GB, free: 95.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004362/7.427, allocations: 67.83 kB / 2.047 GB, free: 95.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 123 * Array equations: 2 * Algorithm blocks: 1 * 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.0005461/7.428, allocations: 170.8 kB / 2.047 GB, free: 95.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006656/7.428, allocations: 177.4 kB / 2.048 GB, free: 95.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003812/7.432, allocations: 1.052 MB / 2.049 GB, free: 95.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/7.432, allocations: 9.344 kB / 2.049 GB, free: 95.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/7.432, allocations: 1.125 kB / 2.049 GB, free: 95.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002044/7.434, allocations: 0.9414 MB / 2.05 GB, free: 95.05 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.008329/7.443, allocations: 2.446 MB / 2.052 GB, free: 94.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/7.443, allocations: 5.031 kB / 2.052 GB, free: 94.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001843/7.445, allocations: 173 kB / 2.052 GB, free: 94.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/7.445, allocations: 3.266 kB / 2.052 GB, free: 94.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/7.445, allocations: 28.17 kB / 2.052 GB, free: 94.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/7.445, allocations: 3.406 kB / 2.052 GB, free: 94.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/7.445, allocations: 0 / 2.052 GB, free: 94.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003799/7.449, allocations: 1.478 MB / 2.054 GB, free: 94.36 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/7.45, allocations: 335.5 kB / 2.054 GB, free: 94.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/7.45, allocations: 18.7 kB / 2.054 GB, free: 94.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/7.453, allocations: 127.7 kB / 2.054 GB, free: 94.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/7.453, allocations: 59.86 kB / 2.054 GB, free: 94.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/7.453, allocations: 31.58 kB / 2.054 GB, free: 94.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00302/7.456, allocations: 1.012 MB / 2.055 GB, free: 94 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.103e-06/7.456, allocations: 0 / 2.055 GB, free: 94 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006538/7.463, allocations: 1.067 MB / 2.056 GB, free: 93.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (pla.coo.outCon.T,pla.hea.outCon.T,vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],ECoo.y,EHea.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007447/7.47, allocations: 3.205 MB / 2.059 GB, free: 92.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004433/7.475, allocations: 1.634 MB / 2.061 GB, free: 92.76 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/7.475, allocations: 5.844 kB / 2.061 GB, free: 92.76 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/7.476, allocations: 406.2 kB / 2.061 GB, free: 92.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00667/7.483, allocations: 0.7722 MB / 2.062 GB, free: 92.74 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/7.496, allocations: 3.156 MB / 2.065 GB, free: 92.04 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/7.497, allocations: 1.406 MB / 2.067 GB, free: 91.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005108/7.502, allocations: 0.5883 MB / 2.067 GB, free: 91.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/7.504, allocations: 0.728 MB / 2.068 GB, free: 91.3 MB / 0.8386 GB Notification: Performance of SimCode: time 1.112e-06/7.504, allocations: 0 / 2.068 GB, free: 91.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1487/7.653, allocations: 61.09 MB / 2.127 GB, free: 89.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/7.653, allocations: 241.3 kB / 2.128 GB, free: 88.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.264/13.92, allocations: 0 / 2.128 GB, free: 88.85 MB / 0.8386 GB