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/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.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.259/4.259, allocations: 433.2 MB / 440.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.866e-05, allocations: 4.156 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2282, allocations: 98.74 MB / 0.6289 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.461, allocations: 441.3 MB / 1.06 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/1.461, allocations: 108.8 kB / 1.06 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.426/7.887, allocations: 1.214 GB / 2.274 GB, free: 67.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.254e-06/7.887, allocations: 0 / 2.274 GB, free: 67.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006292/7.888, allocations: 88.98 kB / 2.274 GB, free: 67.66 MB / 0.8386 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.009885/7.898, allocations: 2.908 MB / 2.277 GB, free: 65.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/7.898, allocations: 10.59 kB / 2.277 GB, free: 65.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003896/7.902, allocations: 0.534 MB / 2.277 GB, free: 65.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/7.913, allocations: 3.403 MB / 2.28 GB, free: 62.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/7.914, allocations: 195.5 kB / 2.281 GB, free: 62.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007699/7.915, allocations: 108.4 kB / 2.281 GB, free: 62.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004814/7.92, allocations: 1.568 MB / 2.282 GB, free: 62.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004891/7.925, allocations: 1.757 MB / 2.284 GB, free: 60.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.18e-05/7.925, allocations: 0 / 2.284 GB, free: 60.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/7.925, allocations: 3.875 kB / 2.284 GB, free: 60.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/7.925, allocations: 47.58 kB / 2.284 GB, free: 60.96 MB / 0.8386 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.02374/7.949, allocations: 10.65 MB / 2.294 GB, free: 51.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/7.952, allocations: 1.586 MB / 2.296 GB, free: 49.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/7.953, allocations: 0.6076 MB / 2.296 GB, free: 49.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/7.955, allocations: 1.23 MB / 2.298 GB, free: 47.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001621/7.956, allocations: 0.7371 MB / 2.298 GB, free: 47.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00193/7.958, allocations: 152.9 kB / 2.299 GB, free: 46.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=106): time 7.544e-06/7.958, allocations: 0 / 2.299 GB, free: 46.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=106): time 0.005155/7.964, allocations: 1.411 MB / 2.3 GB, free: 45.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/7.964, allocations: 329.2 kB / 2.3 GB, free: 45.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004443/7.968, allocations: 1.938 MB / 2.302 GB, free: 43.14 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005249/7.969, allocations: 29.7 kB / 2.302 GB, free: 43.11 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001512/7.97, allocations: 1.191 MB / 2.303 GB, free: 41.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005985/7.971, allocations: 354.8 kB / 2.304 GB, free: 41.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/7.971, allocations: 0 / 2.304 GB, free: 41.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001243/7.971, allocations: 366 kB / 2.304 GB, free: 41.19 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/7.973, allocations: 0.6326 MB / 2.305 GB, free: 40.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/7.974, allocations: 1.051 MB / 2.306 GB, free: 39.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/7.977, allocations: 0.8474 MB / 2.306 GB, free: 38.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/7.977, allocations: 0 / 2.306 GB, free: 38.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006324/7.984, allocations: 1.977 MB / 2.308 GB, free: 36.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005895/7.984, allocations: 2.497 MB / 2.311 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/7.984, allocations: 11.98 kB / 2.311 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/7.985, allocations: 52.84 kB / 2.311 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/7.988, allocations: 371.4 kB / 2.311 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005371/7.989, allocations: 0.607 MB / 2.312 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004186/7.993, allocations: 211.6 kB / 2.312 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004034/7.993, allocations: 75.95 kB / 2.312 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/7.993, allocations: 4 kB / 2.312 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005411/7.999, allocations: 1.66 MB / 2.314 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/7.999, allocations: 8 kB / 2.314 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/7.999, allocations: 52.89 kB / 2.314 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/8.002, allocations: 359.5 kB / 2.314 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/8.004, allocations: 1.515 MB / 2.316 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/8.007, allocations: 191.4 kB / 2.316 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003381/8.008, allocations: 75.95 kB / 2.316 GB, free: 28.51 MB / 0.8386 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.0005627/8.008, allocations: 170.9 kB / 2.316 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004378/8.013, allocations: 1.392 MB / 2.317 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00051/8.013, allocations: 244.9 kB / 2.318 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/8.019, allocations: 1.662 MB / 2.319 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/8.019, allocations: 12 kB / 2.319 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/8.019, allocations: 0 / 2.319 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003594/8.022, allocations: 1.4 MB / 2.321 GB, free: 23.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/8.034, allocations: 4.191 MB / 2.325 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/8.034, allocations: 0 / 2.325 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/8.036, allocations: 235.9 kB / 2.325 GB, free: 19.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/8.036, allocations: 28.84 kB / 2.325 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/8.036, allocations: 27.98 kB / 2.325 GB, free: 18.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003608/8.037, allocations: 0.5718 MB / 2.326 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/8.037, allocations: 4 kB / 2.326 GB, free: 18.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006259/8.043, allocations: 2.596 MB / 2.328 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/8.045, allocations: 0.564 MB / 2.329 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000617/8.046, allocations: 15.52 kB / 2.329 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/8.049, allocations: 175.7 kB / 2.329 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/8.049, allocations: 77.11 kB / 2.329 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000187/8.049, allocations: 55.97 kB / 2.329 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003472/8.053, allocations: 1.459 MB / 2.33 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.11e-07/8.053, allocations: 0 / 2.33 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006908/8.06, allocations: 1.284 MB / 2.332 GB, free: 12.06 MB / 0.8386 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.009364/8.069, allocations: 4.734 MB / 2.336 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0062/8.076, allocations: 2.785 MB / 2.339 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/8.076, allocations: 4.75 kB / 2.339 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/8.077, allocations: 0.7384 MB / 2.34 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009494/8.087, allocations: 1.106 MB / 2.341 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/8.102, allocations: 4.312 MB / 2.345 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/8.104, allocations: 1.835 MB / 2.347 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.006511/8.111, allocations: 0.8492 MB / 2.348 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00276/8.114, allocations: 1.062 MB / 2.349 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of SimCode: time 1.653e-06/8.114, allocations: 3.938 kB / 2.349 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9736/9.087, allocations: 74.75 MB / 2.422 GB, free: 94.71 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/9.088, allocations: 222.4 kB / 2.422 GB, free: 94.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.315/15.4, allocations: 0.9375 kB / 2.422 GB, free: 94.43 MB / 0.8698 GB