Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadModel(Buildings): time 3.774/3.774, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.512e-05/3.529e-05, allocations: 4.703 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1802, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.012/1.192, allocations: 442 MB / 1.066 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/1.193, allocations: 106 kB / 1.066 GB, free: 1.91 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.551/6.744, allocations: 1.219 GB / 2.286 GB, free: 75.12 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.101e-06/6.744, allocations: 0 / 2.286 GB, free: 75.12 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005803/6.744, allocations: 79.03 kB / 2.286 GB, free: 75.09 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.008634/6.753, allocations: 2.906 MB / 2.289 GB, free: 73 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/6.753, allocations: 7.594 kB / 2.289 GB, free: 73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/6.756, allocations: 0.5452 MB / 2.289 GB, free: 72.76 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009493/6.766, allocations: 3.401 MB / 2.293 GB, free: 70.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000848/6.766, allocations: 268.7 kB / 2.293 GB, free: 70.14 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007116/6.767, allocations: 179.9 kB / 2.293 GB, free: 70.08 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005316/6.773, allocations: 1.984 MB / 2.295 GB, free: 68.84 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/6.773, allocations: 7.625 kB / 2.295 GB, free: 68.83 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002928/6.773, allocations: 64.12 kB / 2.295 GB, free: 68.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/6.773, allocations: 38.75 kB / 2.295 GB, free: 68.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00456/6.778, allocations: 1.623 MB / 2.297 GB, free: 67.24 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.02059/6.798, allocations: 10.98 MB / 2.307 GB, free: 55.53 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/6.801, allocations: 1.603 MB / 2.309 GB, free: 53.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/6.802, allocations: 0.6286 MB / 2.31 GB, free: 53.19 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/6.803, allocations: 1.227 MB / 2.311 GB, free: 51.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001624/6.805, allocations: 0.7629 MB / 2.312 GB, free: 50.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001723/6.807, allocations: 186.7 kB / 2.312 GB, free: 50.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=106): time 6.699e-06/6.807, allocations: 0 / 2.312 GB, free: 50.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=106): time 0.003826/6.811, allocations: 1.399 MB / 2.313 GB, free: 49.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/6.811, allocations: 333.1 kB / 2.313 GB, free: 48.92 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/6.816, allocations: 2.228 MB / 2.316 GB, free: 46.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004338/6.816, allocations: 53.7 kB / 2.316 GB, free: 46.62 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/6.818, allocations: 1.211 MB / 2.317 GB, free: 45.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000602/6.818, allocations: 362.7 kB / 2.317 GB, free: 45.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/6.819, allocations: 28 kB / 2.317 GB, free: 45.01 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001278/6.819, allocations: 365.9 kB / 2.318 GB, free: 44.65 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/6.82, allocations: 0.6443 MB / 2.318 GB, free: 44 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/6.822, allocations: 1.081 MB / 2.319 GB, free: 42.76 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/6.824, allocations: 0.7979 MB / 2.32 GB, free: 41.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/6.824, allocations: 8 kB / 2.32 GB, free: 41.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005169/6.829, allocations: 2 MB / 2.322 GB, free: 39.94 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005317/6.83, allocations: 2.507 MB / 2.324 GB, free: 37.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.301e-05/6.83, allocations: 19.8 kB / 2.324 GB, free: 37.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/6.83, allocations: 50.25 kB / 2.324 GB, free: 37.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/6.832, allocations: 371.5 kB / 2.325 GB, free: 36.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004591/6.833, allocations: 0.5988 MB / 2.325 GB, free: 36.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/6.836, allocations: 259.5 kB / 2.326 GB, free: 35.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004825/6.837, allocations: 75.97 kB / 2.326 GB, free: 35.87 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/6.837, allocations: 4 kB / 2.326 GB, free: 35.86 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004134/6.841, allocations: 1.751 MB / 2.327 GB, free: 34.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/6.841, allocations: 12 kB / 2.327 GB, free: 34.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/6.842, allocations: 52.83 kB / 2.328 GB, free: 34.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/6.844, allocations: 362.8 kB / 2.328 GB, free: 33.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/6.845, allocations: 1.57 MB / 2.329 GB, free: 31.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/6.848, allocations: 235.5 kB / 2.33 GB, free: 31.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004629/6.849, allocations: 75.91 kB / 2.33 GB, free: 31.68 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.0006119/6.85, allocations: 227.3 kB / 2.33 GB, free: 31.45 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007343/6.85, allocations: 264.7 kB / 2.33 GB, free: 31.18 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/6.855, allocations: 1.74 MB / 2.332 GB, free: 29.45 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/6.855, allocations: 15.98 kB / 2.332 GB, free: 29.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.747e-06/6.855, allocations: 4 kB / 2.332 GB, free: 29.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002835/6.858, allocations: 1.443 MB / 2.333 GB, free: 27.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/6.868, allocations: 4.47 MB / 2.338 GB, free: 23.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/6.868, allocations: 0 / 2.338 GB, free: 23.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/6.87, allocations: 235.9 kB / 2.338 GB, free: 23.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/6.87, allocations: 40.84 kB / 2.338 GB, free: 23.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/6.87, allocations: 39.97 kB / 2.338 GB, free: 23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003376/6.87, allocations: 0.564 MB / 2.339 GB, free: 22.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/6.87, allocations: 4 kB / 2.339 GB, free: 22.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/6.875, allocations: 2.716 MB / 2.341 GB, free: 19.55 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001847/6.877, allocations: 0.591 MB / 2.342 GB, free: 18.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000797/6.878, allocations: 35.98 kB / 2.342 GB, free: 18.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/6.881, allocations: 207.6 kB / 2.342 GB, free: 18.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/6.881, allocations: 80.83 kB / 2.342 GB, free: 18.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/6.882, allocations: 47.97 kB / 2.342 GB, free: 18.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004018/6.886, allocations: 1.735 MB / 2.344 GB, free: 16.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.201e-06/6.886, allocations: 0 / 2.344 GB, free: 16.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006323/6.892, allocations: 1.341 MB / 2.345 GB, free: 15.5 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.002548/6.895, allocations: 1.244 MB / 2.346 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006047/6.901, allocations: 2.899 MB / 2.349 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.887e-06/6.901, allocations: 11.8 kB / 2.349 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/6.902, allocations: 0.763 MB / 2.35 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007555/6.91, allocations: 1.311 MB / 2.351 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/6.92, allocations: 3.812 MB / 2.355 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/6.922, allocations: 1.833 MB / 2.357 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005969/6.928, allocations: 0.8987 MB / 2.358 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007364/6.929, allocations: 159.4 kB / 2.358 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of SimCode: time 1.846e-06/6.929, allocations: 0 / 2.358 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.7075/7.636, allocations: 63.49 MB / 2.42 GB, free: 94.92 MB / 0.8698 GB