Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01521/0.01521, allocations: 88.05 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001757/0.001757, allocations: 174.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.271/2.271, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.345/2.345, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004912, allocations: 15.5 kB / 0.6243 GB, free: 28.37 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2616, allocations: 106.2 MB / 0.7281 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.Plant_T_ClosedLoop): time 0.1201/0.3818, allocations: 52.75 MB / 0.7796 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03878/0.4207, allocations: 16.95 MB / 0.7961 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003316/0.424, allocations: 75.44 kB / 0.7962 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005161/0.4292, allocations: 0.999 MB / 0.7972 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/0.4407, allocations: 2.555 MB / 0.7997 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01317/0.4539, allocations: 2.92 MB / 0.8025 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008317/0.4622, allocations: 3.026 MB / 0.8055 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003266/0.4656, allocations: 1.322 MB / 0.8068 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005188/0.4708, allocations: 1.534 MB / 0.8083 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/0.4736, allocations: 0.9721 MB / 0.8092 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005848/0.4743, allocations: 72 kB / 0.8093 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005734/0.48, allocations: 1.463 MB / 0.8107 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.4812, allocations: 398.4 kB / 0.8111 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.4823, allocations: 452.6 kB / 0.8115 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006404/0.4887, allocations: 2.696 MB / 0.8142 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4888, allocations: 0 / 0.8142 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4888, allocations: 0 / 0.8142 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.429e-05/0.4889, allocations: 0 / 0.8142 GB, free: 1.738 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.007631/0.4965, allocations: 2.253 MB / 0.8164 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.4966, allocations: 8.031 kB / 0.8164 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005971/0.4972, allocations: 177.5 kB / 0.8165 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007/0.5042, allocations: 0.77 MB / 0.8173 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005272/0.5095, allocations: 1.716 MB / 0.819 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007484/0.5103, allocations: 166.6 kB / 0.8191 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/0.5108, allocations: 124 kB / 0.8192 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005914/0.5167, allocations: 1.657 MB / 0.8209 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-05/0.5168, allocations: 3.938 kB / 0.8209 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.5171, allocations: 51.98 kB / 0.8209 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/0.5171, allocations: 32 kB / 0.8209 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0072/0.5243, allocations: 1.484 MB / 0.8224 GB, free: 9.051 MB / 0.6511 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.02228/0.5467, allocations: 9.043 MB / 0.8312 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.5601, allocations: 1.46 MB / 0.8326 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01292/0.573, allocations: 3.231 MB / 0.8358 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00435/0.5774, allocations: 0.651 MB / 0.8364 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001689/0.5792, allocations: 182.9 kB / 0.8366 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 5.45e-06/0.5792, allocations: 4 kB / 0.8366 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.01218/0.5914, allocations: 1.656 MB / 0.8382 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.5916, allocations: 133.1 kB / 0.8384 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005106/0.5967, allocations: 1.604 MB / 0.8399 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003407/0.5971, allocations: 49.7 kB / 0.84 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.00159/0.5987, allocations: 0.8963 MB / 0.8408 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005468/0.5993, allocations: 244.6 kB / 0.8411 GB, free: 4.848 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.5995, allocations: 20 kB / 0.8411 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5997, allocations: 349.9 kB / 0.8414 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004003/0.6037, allocations: 0.5529 MB / 0.842 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004824/0.6086, allocations: 1.022 MB / 0.843 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0044/0.6131, allocations: 0.6528 MB / 0.8436 GB, free: 2.035 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.502e-05/0.6131, allocations: 4 kB / 0.8436 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01149/0.6246, allocations: 1.692 MB / 0.8453 GB, free: 332 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.6106/1.235, allocations: 5.015 MB / 0.8502 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.939e-05/1.235, allocations: 13.36 kB / 0.8502 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.462e-05/1.236, allocations: 20.44 kB / 0.8502 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/1.239, allocations: 338.2 kB / 0.8505 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-05/1.239, allocations: 24.47 kB / 0.8505 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/1.242, allocations: 195.2 kB / 0.8507 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/1.242, allocations: 62.31 kB / 0.8508 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.242, allocations: 6.531 kB / 0.8508 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007216/1.25, allocations: 1.508 MB / 0.8523 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.854e-05/1.25, allocations: 16.59 kB / 0.8523 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.844e-05/1.25, allocations: 19.91 kB / 0.8523 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/1.253, allocations: 336.3 kB / 0.8526 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.323e-05/1.253, allocations: 25.11 kB / 0.8526 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/1.256, allocations: 199.1 kB / 0.8528 GB, free: 109.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/1.256, allocations: 58.86 kB / 0.8529 GB, free: 109.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,EHea.local_reset,ECoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 127 * 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.001404/1.258, allocations: 0.4935 MB / 0.8534 GB, free: 109.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00053/1.258, allocations: 178.5 kB / 0.8535 GB, free: 109.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006762/1.265, allocations: 1.512 MB / 0.855 GB, free: 109 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-05/1.265, allocations: 11.98 kB / 0.855 GB, free: 109 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/1.265, allocations: 0 / 0.855 GB, free: 109 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005367/1.27, allocations: 1.387 MB / 0.8564 GB, free: 108.6 MB / 0.6667 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.01204/1.282, allocations: 3.149 MB / 0.8595 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.282, allocations: 0 / 0.8595 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/1.285, allocations: 227.5 kB / 0.8597 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/1.285, allocations: 3.422 kB / 0.8597 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/1.285, allocations: 27.73 kB / 0.8597 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.769e-06/1.285, allocations: 3.422 kB / 0.8597 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/1.285, allocations: 0 / 0.8597 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009878/1.295, allocations: 2.193 MB / 0.8619 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.296, allocations: 386.7 kB / 0.8622 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000482/1.297, allocations: 15.17 kB / 0.8622 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/1.3, allocations: 176.6 kB / 0.8624 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/1.3, allocations: 62.91 kB / 0.8625 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/1.3, allocations: 33.44 kB / 0.8625 GB, free: 106.2 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003305/1.304, allocations: 1.077 MB / 0.8635 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.41e-07/1.304, allocations: 0.625 kB / 0.8635 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.006109/1.31, allocations: 0.9904 MB / 0.8645 GB, free: 105.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (76): * Single equations (assignments): 67 * 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.01297/1.323, allocations: 3.338 MB / 0.8678 GB, free: 104.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01131/1.334, allocations: 2.278 MB / 0.87 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.334, allocations: 2.109 kB / 0.87 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003247/1.338, allocations: 0.6289 MB / 0.8706 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006767/1.345, allocations: 0.7673 MB / 0.8714 GB, free: 102.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.361, allocations: 13.36 MB / 0.8844 GB, free: 91.54 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/1.363, allocations: 1.408 MB / 0.8858 GB, free: 90.77 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003888/1.367, allocations: 473.5 kB / 0.8862 GB, free: 90.63 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/1.369, allocations: 0.7566 MB / 0.887 GB, free: 90.06 MB / 0.6667 GB Notification: Performance of SimCode: time 1.242e-06/1.369, allocations: 5.344 kB / 0.887 GB, free: 90.06 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1431/1.512, allocations: 50.79 MB / 0.9366 GB, free: 45.9 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/1.512, allocations: 264.2 kB / 0.9368 GB, free: 45.54 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.361/6.873, allocations: 0 / 0.9368 GB, free: 45.54 MB / 0.6667 GB