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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.03/4.03, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.295e-05/4.315e-05, allocations: 4.875 kB / 0.5383 GB, free: 10.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2322, allocations: 98.74 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.489, allocations: 441.9 MB / 1.066 GB, free: 13.73 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/1.49, allocations: 108.3 kB / 1.066 GB, free: 13.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.497/7.987, allocations: 1.219 GB / 2.286 GB, free: 72.93 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.414e-06/7.987, allocations: 0 / 2.286 GB, free: 72.93 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007362/7.988, allocations: 80.11 kB / 2.286 GB, free: 72.9 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.01099/7.999, allocations: 2.901 MB / 2.289 GB, free: 70.82 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/7.999, allocations: 10.19 kB / 2.289 GB, free: 70.82 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001033/8, allocations: 228.8 kB / 2.289 GB, free: 70.63 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004224/8.004, allocations: 0.5397 MB / 2.29 GB, free: 70.21 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/8.016, allocations: 3.409 MB / 2.293 GB, free: 66.74 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001328/8.018, allocations: 263.5 kB / 2.293 GB, free: 66.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009876/8.019, allocations: 179.8 kB / 2.293 GB, free: 66.31 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006751/8.025, allocations: 1.986 MB / 2.295 GB, free: 64.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/8.025, allocations: 11.67 kB / 2.295 GB, free: 64.22 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003573/8.026, allocations: 64 kB / 2.295 GB, free: 64.16 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/8.026, allocations: 39.94 kB / 2.295 GB, free: 64.12 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005656/8.032, allocations: 1.62 MB / 2.297 GB, free: 62.49 MB / 0.8542 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.02668/8.058, allocations: 10.99 MB / 2.308 GB, free: 50.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/8.061, allocations: 1.585 MB / 2.309 GB, free: 49.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/8.063, allocations: 0.6359 MB / 2.31 GB, free: 48.44 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/8.065, allocations: 1.239 MB / 2.311 GB, free: 46.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002189/8.067, allocations: 0.7665 MB / 2.312 GB, free: 46.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002429/8.07, allocations: 190.7 kB / 2.312 GB, free: 45.97 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=106): time 1.076e-05/8.07, allocations: 2.156 kB / 2.312 GB, free: 45.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=106): time 0.005598/8.075, allocations: 1.392 MB / 2.313 GB, free: 44.56 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/8.075, allocations: 325.2 kB / 2.314 GB, free: 44.17 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007056/8.083, allocations: 2.22 MB / 2.316 GB, free: 41.94 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006671/8.083, allocations: 57.7 kB / 2.316 GB, free: 41.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002308/8.086, allocations: 1.218 MB / 2.317 GB, free: 40.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007879/8.086, allocations: 354.8 kB / 2.317 GB, free: 40.29 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/8.087, allocations: 31.98 kB / 2.317 GB, free: 40.26 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001809/8.087, allocations: 361.9 kB / 2.318 GB, free: 39.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/8.089, allocations: 0.6443 MB / 2.318 GB, free: 39.26 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/8.092, allocations: 1.081 MB / 2.319 GB, free: 38.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/8.094, allocations: 0.7983 MB / 2.32 GB, free: 37.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/8.094, allocations: 5.688 kB / 2.32 GB, free: 37.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006823/8.101, allocations: 2.005 MB / 2.322 GB, free: 35.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006144/8.102, allocations: 2.515 MB / 2.325 GB, free: 32.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.914e-05/8.102, allocations: 11.98 kB / 2.325 GB, free: 32.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/8.102, allocations: 51.09 kB / 2.325 GB, free: 32.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/8.106, allocations: 375.4 kB / 2.325 GB, free: 32.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005604/8.106, allocations: 0.5875 MB / 2.326 GB, free: 31.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004647/8.111, allocations: 255.5 kB / 2.326 GB, free: 31.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006128/8.112, allocations: 79.95 kB / 2.326 GB, free: 31.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/8.112, allocations: 4.781 kB / 2.326 GB, free: 31.11 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005113/8.117, allocations: 1.751 MB / 2.328 GB, free: 29.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.903e-05/8.117, allocations: 8 kB / 2.328 GB, free: 29.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000287/8.117, allocations: 56.77 kB / 2.328 GB, free: 29.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00318/8.12, allocations: 355.5 kB / 2.328 GB, free: 28.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/8.122, allocations: 1.576 MB / 2.33 GB, free: 27.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/8.127, allocations: 235.5 kB / 2.33 GB, free: 27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006131/8.127, allocations: 71.95 kB / 2.33 GB, free: 26.93 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 () * 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.0007006/8.128, allocations: 233.4 kB / 2.33 GB, free: 26.69 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009423/8.129, allocations: 264.7 kB / 2.33 GB, free: 26.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005732/8.135, allocations: 1.727 MB / 2.332 GB, free: 24.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/8.135, allocations: 15.98 kB / 2.332 GB, free: 24.68 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/8.135, allocations: 0 / 2.332 GB, free: 24.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003483/8.138, allocations: 1.446 MB / 2.333 GB, free: 23.18 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/8.151, allocations: 4.486 MB / 2.338 GB, free: 18.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/8.151, allocations: 0 / 2.338 GB, free: 18.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002302/8.154, allocations: 239.9 kB / 2.338 GB, free: 18.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002547/8.154, allocations: 36.84 kB / 2.338 GB, free: 18.27 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003975/8.154, allocations: 35.98 kB / 2.338 GB, free: 18.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003969/8.155, allocations: 0.5714 MB / 2.339 GB, free: 17.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/8.155, allocations: 4 kB / 2.339 GB, free: 17.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/8.161, allocations: 2.72 MB / 2.341 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/8.164, allocations: 0.5832 MB / 2.342 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/8.165, allocations: 35.98 kB / 2.342 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003902/8.169, allocations: 207.6 kB / 2.342 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/8.169, allocations: 76.83 kB / 2.342 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/8.169, allocations: 55.97 kB / 2.342 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00464/8.174, allocations: 1.732 MB / 2.344 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.232e-06/8.174, allocations: 0 / 2.344 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00725/8.181, allocations: 1.337 MB / 2.345 GB, free: 10.74 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * 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.009626/8.191, allocations: 4.829 MB / 2.35 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007329/8.198, allocations: 2.898 MB / 2.353 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/8.199, allocations: 0 / 2.353 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/8.2, allocations: 0.7599 MB / 2.354 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/8.212, allocations: 1.318 MB / 2.355 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/8.229, allocations: 4.465 MB / 2.359 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/8.232, allocations: 1.829 MB / 2.361 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.007234/8.239, allocations: 0.8937 MB / 2.362 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002893/8.242, allocations: 1.062 MB / 2.363 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/8.242, allocations: 4 kB / 2.363 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9108/9.153, allocations: 90.15 MB / 2.451 GB, free: 93.29 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003279/9.153, allocations: 273.8 kB / 2.451 GB, free: 92.95 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/16, allocations: 0 / 2.451 GB, free: 92.95 MB / 0.8698 GB