Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_6_0_0_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.429/4.429, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.226e-05/2.24e-05, allocations: 4 kB / 0.5325 GB, free: 1.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6464/0.6465, allocations: 98.73 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.896, allocations: 426 MB / 1.045 GB, free: 448 kB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/1.896, allocations: 88.7 kB / 1.045 GB, free: 400 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.437/5.333, allocations: 0.6648 GB / 1.71 GB, free: 46.14 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.265e-06/5.333, allocations: 4 kB / 1.71 GB, free: 46.13 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002764/5.333, allocations: 35.12 kB / 1.71 GB, free: 46.1 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.005083/5.338, allocations: 1.71 MB / 1.712 GB, free: 44.34 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/5.339, allocations: 12.02 kB / 1.712 GB, free: 44.33 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/5.342, allocations: 390.4 kB / 1.712 GB, free: 43.95 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02767/5.37, allocations: 8.3 MB / 1.72 GB, free: 35.62 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/5.37, allocations: 32 kB / 1.72 GB, free: 35.59 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/5.37, allocations: 52 kB / 1.72 GB, free: 35.54 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001823/5.372, allocations: 0.617 MB / 1.721 GB, free: 34.92 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/5.374, allocations: 0.8365 MB / 1.722 GB, free: 34.03 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/5.374, allocations: 0 / 1.722 GB, free: 34.03 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/5.374, allocations: 7.938 kB / 1.722 GB, free: 34.02 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/5.374, allocations: 20 kB / 1.722 GB, free: 34 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.008944/5.383, allocations: 4.543 MB / 1.726 GB, free: 29.21 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/5.384, allocations: 459.2 kB / 1.726 GB, free: 28.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004422/5.385, allocations: 221.1 kB / 1.727 GB, free: 28.54 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003294/5.388, allocations: 1.615 MB / 1.728 GB, free: 26.74 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006452/5.389, allocations: 355.8 kB / 1.729 GB, free: 26.37 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00066/5.39, allocations: 67.48 kB / 1.729 GB, free: 26.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 3.607e-06/5.39, allocations: 0 / 1.729 GB, free: 26.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.002691/5.392, allocations: 0.6503 MB / 1.729 GB, free: 25.64 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/5.392, allocations: 110.8 kB / 1.729 GB, free: 25.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/5.394, allocations: 0.9659 MB / 1.73 GB, free: 24.53 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001994/5.395, allocations: 29.7 kB / 1.73 GB, free: 24.49 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007211/5.395, allocations: 0.6682 MB / 1.731 GB, free: 23.82 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/5.395, allocations: 145.9 kB / 1.731 GB, free: 23.67 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/5.396, allocations: 0 / 1.731 GB, free: 23.67 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/5.396, allocations: 330 kB / 1.731 GB, free: 23.34 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/5.396, allocations: 201.5 kB / 1.732 GB, free: 23.15 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/5.397, allocations: 489 kB / 1.732 GB, free: 22.54 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/5.398, allocations: 333.3 kB / 1.732 GB, free: 22.22 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/5.398, allocations: 4 kB / 1.732 GB, free: 22.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003345/5.402, allocations: 0.8443 MB / 1.733 GB, free: 21.36 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006184/5.402, allocations: 2.776 MB / 1.736 GB, free: 18.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/5.402, allocations: 4.094 kB / 1.736 GB, free: 18.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004229/5.403, allocations: 81.67 kB / 1.736 GB, free: 18.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/5.404, allocations: 151.8 kB / 1.736 GB, free: 18.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000956/5.405, allocations: 1.148 MB / 1.737 GB, free: 16.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/5.407, allocations: 71.95 kB / 1.737 GB, free: 16.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/5.407, allocations: 43.98 kB / 1.737 GB, free: 16.85 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/5.407, allocations: 7.938 kB / 1.737 GB, free: 16.84 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002638/5.41, allocations: 0.665 MB / 1.738 GB, free: 16.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/5.41, allocations: 8 kB / 1.738 GB, free: 16.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/5.41, allocations: 77.64 kB / 1.738 GB, free: 16.08 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/5.411, allocations: 152.2 kB / 1.738 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009185/5.412, allocations: 1.132 MB / 1.739 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/5.414, allocations: 72.05 kB / 1.74 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/5.414, allocations: 43.98 kB / 1.74 GB, free: 14.64 MB / 0.823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: subSta.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004213/5.414, allocations: 172.7 kB / 1.74 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002631/5.417, allocations: 0.627 MB / 1.74 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/5.418, allocations: 130.7 kB / 1.74 GB, free: 13.69 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/5.42, allocations: 0.7816 MB / 1.741 GB, free: 12.89 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/5.421, allocations: 7.984 kB / 1.741 GB, free: 12.89 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/5.421, allocations: 0 / 1.741 GB, free: 12.89 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/5.421, allocations: 7.953 kB / 1.741 GB, free: 12.88 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.00514/5.426, allocations: 1.744 MB / 1.743 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/5.426, allocations: 4 kB / 1.743 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008577/5.427, allocations: 103.9 kB / 1.743 GB, free: 10.97 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003175/5.427, allocations: 65.62 kB / 1.743 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/5.427, allocations: 15.98 kB / 1.743 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00088/5.428, allocations: 1.136 MB / 1.744 GB, free: 9.695 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/5.428, allocations: 3.938 kB / 1.744 GB, free: 9.691 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/5.431, allocations: 0.9239 MB / 1.745 GB, free: 8.711 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007906/5.431, allocations: 283.3 kB / 1.745 GB, free: 8.414 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002628/5.432, allocations: 7.953 kB / 1.745 GB, free: 8.406 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/5.433, allocations: 71.92 kB / 1.745 GB, free: 8.336 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/5.433, allocations: 35.95 kB / 1.746 GB, free: 8.301 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/5.434, allocations: 35.97 kB / 1.746 GB, free: 8.266 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001555/5.435, allocations: 0.737 MB / 1.746 GB, free: 7.527 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.12e-07/5.435, allocations: 0 / 1.746 GB, free: 7.527 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003709/5.439, allocations: 0.7366 MB / 1.747 GB, free: 6.789 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005041/5.444, allocations: 2.513 MB / 1.749 GB, free: 4.219 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002712/5.447, allocations: 1.067 MB / 1.75 GB, free: 3.133 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/5.447, allocations: 4 kB / 1.75 GB, free: 3.129 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008375/5.448, allocations: 356.5 kB / 1.751 GB, free: 2.77 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/5.452, allocations: 0.5357 MB / 1.751 GB, free: 2.238 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006672/5.459, allocations: 1.912 MB / 1.753 GB, free: 276 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6847/6.143, allocations: 1.234 MB / 1.754 GB, free: 126 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003433/6.147, allocations: 402.7 kB / 1.755 GB, free: 126 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/6.148, allocations: 0.5007 MB / 1.755 GB, free: 126 MB / 0.823 GB Notification: Performance of SimCode: time 1.333e-06/6.148, allocations: 0 / 1.755 GB, free: 126 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/6.308, allocations: 39.87 MB / 1.794 GB, free: 125.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/6.308, allocations: 217.3 kB / 1.794 GB, free: 125 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.783/11.09, allocations: 0 / 1.794 GB, free: 125 MB / 0.823 GB