Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",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.0115/0.0115, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001233/0.001232, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.092/2.092, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.229/2.229, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004776, allocations: 16 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.656/0.6565, allocations: 98.71 MB / 0.6834 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.881, allocations: 442 MB / 1.115 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.882, allocations: 103 kB / 1.115 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.512/8.394, allocations: 1.223 GB / 2.338 GB, free: 80.99 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.494e-06/8.394, allocations: 5.531 kB / 2.338 GB, free: 80.99 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007069/8.394, allocations: 80.14 kB / 2.338 GB, free: 80.98 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.01433/8.409, allocations: 3.492 MB / 2.342 GB, free: 79.31 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/8.409, allocations: 6.969 kB / 2.342 GB, free: 79.31 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001113/8.41, allocations: 234.8 kB / 2.342 GB, free: 79.27 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004179/8.414, allocations: 0.5359 MB / 2.343 GB, free: 79.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/8.426, allocations: 3.43 MB / 2.346 GB, free: 78.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001348/8.427, allocations: 273.8 kB / 2.346 GB, free: 78.51 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009/8.428, allocations: 179 kB / 2.346 GB, free: 78.51 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006983/8.435, allocations: 2.121 MB / 2.348 GB, free: 78.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.624e-05/8.435, allocations: 1.812 kB / 2.348 GB, free: 78.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002999/8.436, allocations: 69.62 kB / 2.349 GB, free: 78.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.376e-05/8.436, allocations: 40.38 kB / 2.349 GB, free: 78.23 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007511/8.443, allocations: 1.878 MB / 2.35 GB, free: 78.21 MB / 0.8542 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.02566/8.469, allocations: 10.99 MB / 2.361 GB, free: 73.39 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/8.474, allocations: 1.798 MB / 2.363 GB, free: 72.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001575/8.475, allocations: 1.229 MB / 2.364 GB, free: 71.47 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002699/8.478, allocations: 0.8122 MB / 2.365 GB, free: 71.38 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00212/8.48, allocations: 177 kB / 2.365 GB, free: 71.32 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=106): time 6.182e-06/8.48, allocations: 0 / 2.365 GB, free: 71.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=106): time 0.008544/8.489, allocations: 2.315 MB / 2.367 GB, free: 70.89 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/8.489, allocations: 301.2 kB / 2.368 GB, free: 70.55 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006171/8.495, allocations: 2.285 MB / 2.37 GB, free: 70.32 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005508/8.496, allocations: 53.55 kB / 2.37 GB, free: 70.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001791/8.498, allocations: 1.208 MB / 2.371 GB, free: 69.97 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000676/8.498, allocations: 369.5 kB / 2.371 GB, free: 69.74 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/8.499, allocations: 23.94 kB / 2.371 GB, free: 69.74 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000141/8.499, allocations: 365.2 kB / 2.372 GB, free: 69.43 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/8.502, allocations: 0.7767 MB / 2.373 GB, free: 69.43 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003443/8.505, allocations: 1.2 MB / 2.374 GB, free: 68.99 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003232/8.508, allocations: 0.9275 MB / 2.375 GB, free: 68.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/8.508, allocations: 3.781 kB / 2.375 GB, free: 68.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.008351/8.517, allocations: 2.261 MB / 2.377 GB, free: 68.71 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006042/8.517, allocations: 2.518 MB / 2.379 GB, free: 66.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.687e-05/8.517, allocations: 7.75 kB / 2.379 GB, free: 66.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003168/8.518, allocations: 55 kB / 2.379 GB, free: 66.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003318/8.521, allocations: 367.9 kB / 2.38 GB, free: 66.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005318/8.522, allocations: 0.5945 MB / 2.38 GB, free: 65.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004522/8.526, allocations: 260.2 kB / 2.381 GB, free: 65.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005724/8.527, allocations: 75.34 kB / 2.381 GB, free: 65.55 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/8.527, allocations: 7.594 kB / 2.381 GB, free: 65.55 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007046/8.534, allocations: 1.974 MB / 2.383 GB, free: 65.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-05/8.534, allocations: 13.5 kB / 2.383 GB, free: 65.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/8.534, allocations: 59.08 kB / 2.383 GB, free: 65.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/8.537, allocations: 363.3 kB / 2.383 GB, free: 65.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/8.539, allocations: 1.574 MB / 2.385 GB, free: 64.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004557/8.544, allocations: 237.8 kB / 2.385 GB, free: 64.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004888/8.544, allocations: 70.53 kB / 2.385 GB, free: 64.07 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 164 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.002574/8.547, allocations: 0.7728 MB / 2.386 GB, free: 63.83 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000962/8.548, allocations: 273.6 kB / 2.386 GB, free: 63.69 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006688/8.555, allocations: 1.938 MB / 2.388 GB, free: 63.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/8.555, allocations: 13.81 kB / 2.388 GB, free: 63.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/8.555, allocations: 0 / 2.388 GB, free: 63.52 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004782/8.56, allocations: 1.654 MB / 2.389 GB, free: 63.19 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/8.572, allocations: 4.43 MB / 2.394 GB, free: 62.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/8.572, allocations: 0 / 2.394 GB, free: 62.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/8.574, allocations: 233.1 kB / 2.394 GB, free: 62.63 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002123/8.575, allocations: 46.36 kB / 2.394 GB, free: 62.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002069/8.575, allocations: 35.36 kB / 2.394 GB, free: 62.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000374/8.575, allocations: 0.5677 MB / 2.395 GB, free: 62.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/8.575, allocations: 0 / 2.395 GB, free: 62.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008523/8.584, allocations: 2.834 MB / 2.397 GB, free: 61.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/8.586, allocations: 0.579 MB / 2.398 GB, free: 61.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009006/8.587, allocations: 27.7 kB / 2.398 GB, free: 61.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003723/8.591, allocations: 204.2 kB / 2.398 GB, free: 61.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004194/8.591, allocations: 70.33 kB / 2.398 GB, free: 61.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/8.591, allocations: 51.73 kB / 2.398 GB, free: 61.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00504/8.596, allocations: 1.765 MB / 2.4 GB, free: 60.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.31e-07/8.597, allocations: 0 / 2.4 GB, free: 60.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007938/8.604, allocations: 1.347 MB / 2.401 GB, free: 60.27 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.x[1],WSE.heaExc.thrWayVal.filter.x[2],WSE.heaExc.con.I.y,WSE.filter[1].x[1],WSE.filter[1].x[2],TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01225/8.617, allocations: 4.614 MB / 2.406 GB, free: 57.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009928/8.627, allocations: 3.15 MB / 2.409 GB, free: 56.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/8.627, allocations: 6.719 kB / 2.409 GB, free: 56.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002632/8.629, allocations: 0.8542 MB / 2.41 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01084/8.64, allocations: 1.26 MB / 2.411 GB, free: 55.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/8.661, allocations: 10.86 MB / 2.421 GB, free: 48.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/8.663, allocations: 1.825 MB / 2.423 GB, free: 47.26 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00481/8.668, allocations: 0.6463 MB / 2.424 GB, free: 47.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002994/8.671, allocations: 1.108 MB / 2.425 GB, free: 46.31 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/8.671, allocations: 0 / 2.425 GB, free: 46.31 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2748/8.946, allocations: 82.59 MB / 2.506 GB, free: 1.805 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004383/8.947, allocations: 297.9 kB / 2.506 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.283/15.23, allocations: 4 kB / 2.506 GB, free: 1.445 MB / 0.8698 GB