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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01136/0.01136, 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.001218/0.001218, 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.021/2.021, 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.235/2.235, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005014, allocations: 15.98 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7601, allocations: 98.71 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/2.096, allocations: 434.1 MB / 1.107 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/2.096, allocations: 96.83 kB / 1.107 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.146/7.242, allocations: 0.952 GB / 2.059 GB, free: 85.29 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.265e-06/7.242, allocations: 3.719 kB / 2.059 GB, free: 85.29 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004352/7.243, allocations: 58.77 kB / 2.059 GB, free: 85.27 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.01181/7.254, allocations: 2.621 MB / 2.062 GB, free: 83.36 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/7.254, allocations: 11.38 kB / 2.062 GB, free: 83.36 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008127/7.255, allocations: 177.2 kB / 2.062 GB, free: 83.21 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007175/7.262, allocations: 0.7334 MB / 2.063 GB, free: 82.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03091/7.293, allocations: 8.784 MB / 2.072 GB, free: 77.47 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/7.294, allocations: 97.88 kB / 2.072 GB, free: 77.43 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006887/7.294, allocations: 126.4 kB / 2.072 GB, free: 77.39 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/7.3, allocations: 1.498 MB / 2.073 GB, free: 76.36 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-05/7.3, allocations: 7.75 kB / 2.073 GB, free: 76.35 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/7.3, allocations: 51.84 kB / 2.073 GB, free: 76.31 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/7.3, allocations: 39.52 kB / 2.073 GB, free: 76.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005278/7.306, allocations: 1.202 MB / 2.074 GB, free: 75.7 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.0164/7.322, allocations: 8.022 MB / 2.082 GB, free: 67.83 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/7.33, allocations: 1.151 MB / 2.083 GB, free: 66.67 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007914/7.338, allocations: 2.928 MB / 2.086 GB, free: 63.48 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/7.34, allocations: 0.5198 MB / 2.087 GB, free: 62.95 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001505/7.341, allocations: 190.9 kB / 2.087 GB, free: 62.76 MB / 0.823 GB Notification: Performance of pre-optimization done (n=65): time 4.879e-06/7.341, allocations: 0 / 2.087 GB, free: 62.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=65): time 0.006229/7.347, allocations: 1.297 MB / 2.088 GB, free: 61.46 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/7.348, allocations: 115.4 kB / 2.088 GB, free: 61.32 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/7.35, allocations: 1.344 MB / 2.09 GB, free: 59.94 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002729/7.351, allocations: 41.7 kB / 2.09 GB, free: 59.89 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009236/7.352, allocations: 0.8964 MB / 2.091 GB, free: 58.98 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002995/7.352, allocations: 232.7 kB / 2.091 GB, free: 58.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/7.352, allocations: 20 kB / 2.091 GB, free: 58.73 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/7.352, allocations: 341.9 kB / 2.091 GB, free: 58.39 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/7.354, allocations: 430.3 kB / 2.092 GB, free: 57.98 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/7.356, allocations: 0.8683 MB / 2.092 GB, free: 56.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/7.358, allocations: 0.5332 MB / 2.093 GB, free: 56.36 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/7.358, allocations: 4 kB / 2.093 GB, free: 56.36 MB / 0.823 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.005437/7.364, allocations: 1.414 MB / 2.094 GB, free: 54.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001102/7.365, allocations: 4.76 MB / 2.099 GB, free: 49.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.118e-05/7.365, allocations: 12 kB / 2.099 GB, free: 49.78 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.641e-05/7.365, allocations: 23.95 kB / 2.099 GB, free: 49.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/7.368, allocations: 283.5 kB / 2.099 GB, free: 49.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.545e-05/7.368, allocations: 27.86 kB / 2.099 GB, free: 49.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/7.37, allocations: 147.8 kB / 2.099 GB, free: 49.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/7.371, allocations: 59.97 kB / 2.099 GB, free: 49.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/7.371, allocations: 8 kB / 2.099 GB, free: 49.24 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004807/7.376, allocations: 1.246 MB / 2.101 GB, free: 47.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/7.376, allocations: 16.92 kB / 2.101 GB, free: 47.97 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/7.376, allocations: 20 kB / 2.101 GB, free: 47.95 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/7.378, allocations: 279.6 kB / 2.101 GB, free: 47.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.964e-05/7.378, allocations: 23.92 kB / 2.101 GB, free: 47.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/7.381, allocations: 155.7 kB / 2.101 GB, free: 47.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002238/7.381, allocations: 59.97 kB / 2.101 GB, free: 47.45 MB / 0.823 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 () * Number of clocked 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.001408/7.382, allocations: 0.4928 MB / 2.102 GB, free: 46.94 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/7.383, allocations: 177.8 kB / 2.102 GB, free: 46.77 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00531/7.388, allocations: 1.247 MB / 2.103 GB, free: 45.52 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/7.388, allocations: 11.98 kB / 2.103 GB, free: 45.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/7.388, allocations: 0 / 2.103 GB, free: 45.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003988/7.392, allocations: 1.139 MB / 2.104 GB, free: 44.3 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 postOpt removeSimpleEquations (simulation): time 0.009492/7.402, allocations: 2.654 MB / 2.107 GB, free: 41.56 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/7.402, allocations: 0 / 2.107 GB, free: 41.56 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/7.404, allocations: 167.8 kB / 2.107 GB, free: 41.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/7.404, allocations: 4 kB / 2.107 GB, free: 41.39 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/7.404, allocations: 31.92 kB / 2.107 GB, free: 41.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.067e-06/7.404, allocations: 7.688 kB / 2.107 GB, free: 41.36 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/7.404, allocations: 0 / 2.107 GB, free: 41.36 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006566/7.41, allocations: 1.763 MB / 2.109 GB, free: 39.56 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/7.412, allocations: 342.6 kB / 2.109 GB, free: 39.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/7.412, allocations: 20 kB / 2.109 GB, free: 39.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/7.414, allocations: 127.7 kB / 2.109 GB, free: 39.06 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/7.414, allocations: 56.58 kB / 2.109 GB, free: 39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/7.414, allocations: 31.97 kB / 2.109 GB, free: 38.97 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002204/7.416, allocations: 1.035 MB / 2.11 GB, free: 37.91 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.41e-07/7.417, allocations: 0 / 2.11 GB, free: 37.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005636/7.422, allocations: 1.057 MB / 2.111 GB, free: 36.86 MB / 0.823 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) * Number of clocked states: 0 () * 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.009609/7.432, allocations: 3.503 MB / 2.115 GB, free: 33.38 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006986/7.439, allocations: 1.866 MB / 2.117 GB, free: 31.48 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/7.439, allocations: 0 / 2.117 GB, free: 31.48 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/7.441, allocations: 0.5043 MB / 2.117 GB, free: 30.98 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005861/7.447, allocations: 0.7737 MB / 2.118 GB, free: 30.25 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/7.464, allocations: 12.92 MB / 2.13 GB, free: 17.06 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/7.465, allocations: 1.408 MB / 2.132 GB, free: 15.62 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003554/7.468, allocations: 459.1 kB / 2.132 GB, free: 15.22 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/7.47, allocations: 0.7453 MB / 2.133 GB, free: 14.47 MB / 0.823 GB Notification: Performance of SimCode: time 1.493e-06/7.47, allocations: 0 / 2.133 GB, free: 14.47 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8274/8.297, allocations: 56.25 MB / 2.188 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/8.298, allocations: 259.8 kB / 2.188 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.161/13.46, allocations: 0 / 2.188 GB, free: 125.9 MB / 0.8542 GB