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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.232/4.232, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.848e-05/1.86e-05, allocations: 0 / 0.5325 GB, free: 1.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6971, allocations: 98.71 MB / 0.6289 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.956, allocations: 433.4 MB / 1.052 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/1.957, allocations: 86.58 kB / 1.052 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.074/7.031, allocations: 0.9443 GB / 1.997 GB, free: 62.95 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.425e-06/7.031, allocations: 0 / 1.997 GB, free: 62.95 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003931/7.032, allocations: 50.75 kB / 1.997 GB, free: 62.9 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.007545/7.039, allocations: 2.125 MB / 1.999 GB, free: 60.73 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/7.039, allocations: 16.02 kB / 1.999 GB, free: 60.72 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006889/7.046, allocations: 0.7271 MB / 1.999 GB, free: 59.99 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02921/7.075, allocations: 8.688 MB / 2.008 GB, free: 51.37 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/7.076, allocations: 40 kB / 2.008 GB, free: 51.33 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/7.076, allocations: 76 kB / 2.008 GB, free: 51.25 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002607/7.078, allocations: 0.9305 MB / 2.009 GB, free: 50.32 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/7.081, allocations: 1.203 MB / 2.01 GB, free: 49 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/7.081, allocations: 7.094 kB / 2.01 GB, free: 49 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/7.081, allocations: 0 / 2.01 GB, free: 49 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/7.081, allocations: 32 kB / 2.01 GB, free: 48.96 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.01461/7.096, allocations: 7.804 MB / 2.018 GB, free: 40.63 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004713/7.101, allocations: 0.9377 MB / 2.019 GB, free: 39.68 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008057/7.102, allocations: 367.8 kB / 2.019 GB, free: 39.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007315/7.109, allocations: 2.87 MB / 2.022 GB, free: 36.21 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008482/7.11, allocations: 409.8 kB / 2.022 GB, free: 35.8 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001186/7.111, allocations: 171.1 kB / 2.022 GB, free: 35.63 MB / 0.823 GB Notification: Performance of pre-optimization done (n=65): time 4.097e-06/7.111, allocations: 0 / 2.022 GB, free: 35.63 MB / 0.823 GB Notification: Performance of matching and sorting (n=65): time 0.002753/7.114, allocations: 0.8171 MB / 2.023 GB, free: 34.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/7.114, allocations: 111.4 kB / 2.023 GB, free: 34.67 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/7.116, allocations: 1.164 MB / 2.024 GB, free: 33.51 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/7.116, allocations: 29.7 kB / 2.024 GB, free: 33.47 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008955/7.117, allocations: 0.8956 MB / 2.025 GB, free: 32.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/7.117, allocations: 228.7 kB / 2.026 GB, free: 32.34 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/7.117, allocations: 0 / 2.026 GB, free: 32.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000101/7.118, allocations: 349.9 kB / 2.026 GB, free: 31.99 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007327/7.118, allocations: 306.6 kB / 2.026 GB, free: 31.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009558/7.119, allocations: 0.7489 MB / 2.027 GB, free: 30.74 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/7.121, allocations: 496.3 kB / 2.027 GB, free: 30.26 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/7.121, allocations: 4 kB / 2.027 GB, free: 30.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003689/7.125, allocations: 1.193 MB / 2.028 GB, free: 29.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001004/7.126, allocations: 4.724 MB / 2.033 GB, free: 23.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.826e-05/7.126, allocations: 16 kB / 2.033 GB, free: 23.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.049e-05/7.126, allocations: 16 kB / 2.033 GB, free: 23.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/7.128, allocations: 291.5 kB / 2.033 GB, free: 23.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/7.129, allocations: 35.8 kB / 2.033 GB, free: 23.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/7.131, allocations: 131.7 kB / 2.034 GB, free: 23.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/7.131, allocations: 59.97 kB / 2.034 GB, free: 23.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/7.131, allocations: 7.938 kB / 2.034 GB, free: 23.38 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003411/7.135, allocations: 0.9713 MB / 2.035 GB, free: 22.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/7.135, allocations: 18.81 kB / 2.035 GB, free: 22.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/7.135, allocations: 20 kB / 2.035 GB, free: 22.37 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002231/7.137, allocations: 279.6 kB / 2.035 GB, free: 22.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/7.137, allocations: 27.92 kB / 2.035 GB, free: 22.07 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/7.14, allocations: 123.9 kB / 2.035 GB, free: 21.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/7.14, allocations: 59.97 kB / 2.035 GB, free: 21.89 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 () * 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.000386/7.141, allocations: 143.8 kB / 2.035 GB, free: 21.75 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002931/7.144, allocations: 0.7936 MB / 2.036 GB, free: 20.94 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/7.144, allocations: 161.9 kB / 2.036 GB, free: 20.78 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/7.147, allocations: 1.036 MB / 2.037 GB, free: 19.74 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/7.147, allocations: 11.98 kB / 2.037 GB, free: 19.73 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/7.147, allocations: 4 kB / 2.037 GB, free: 19.73 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00213/7.15, allocations: 0.9464 MB / 2.038 GB, free: 18.71 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 postOpt removeSimpleEquations (simulation): time 0.007198/7.157, allocations: 2.301 MB / 2.04 GB, free: 16.37 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/7.157, allocations: 8.016 kB / 2.04 GB, free: 16.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/7.159, allocations: 175.7 kB / 2.041 GB, free: 16.19 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/7.159, allocations: 0 / 2.041 GB, free: 16.19 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.632e-05/7.159, allocations: 23.94 kB / 2.041 GB, free: 16.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/7.159, allocations: 7.984 kB / 2.041 GB, free: 16.16 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/7.159, allocations: 0 / 2.041 GB, free: 16.16 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/7.163, allocations: 1.457 MB / 2.042 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009962/7.164, allocations: 334.7 kB / 2.042 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/7.164, allocations: 7.953 kB / 2.042 GB, free: 14.33 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/7.166, allocations: 119.9 kB / 2.042 GB, free: 14.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/7.166, allocations: 52.7 kB / 2.042 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/7.166, allocations: 31.97 kB / 2.043 GB, free: 14.13 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001673/7.168, allocations: 0.8645 MB / 2.043 GB, free: 13.27 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.81e-07/7.168, allocations: 0 / 2.043 GB, free: 13.27 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005299/7.173, allocations: 1.025 MB / 2.044 GB, free: 12.25 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) * 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.006722/7.18, allocations: 3.148 MB / 2.047 GB, free: 9.133 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003526/7.184, allocations: 1.546 MB / 2.049 GB, free: 7.551 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/7.184, allocations: 0 / 2.049 GB, free: 7.551 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008821/7.185, allocations: 390.8 kB / 2.049 GB, free: 7.168 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005596/7.19, allocations: 0.712 MB / 2.05 GB, free: 6.484 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/7.203, allocations: 3.071 MB / 2.053 GB, free: 3.391 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/7.204, allocations: 1.411 MB / 2.054 GB, free: 1.949 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004514/7.209, allocations: 0.5689 MB / 2.055 GB, free: 1.438 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/7.21, allocations: 0.7218 MB / 2.056 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of SimCode: time 1.322e-06/7.21, allocations: 4 kB / 2.056 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8254/8.036, allocations: 51.41 MB / 2.106 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/8.036, allocations: 212.6 kB / 2.106 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.623/13.66, allocations: 0 / 2.106 GB, free: 103.4 MB / 0.8386 GB