Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_WatersideEconomizer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.148/2.148, allocations: 248.5 MB / 261.1 MB, free: 6.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.001479, allocations: 171 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.2 MB / 0.5711 GB, free: 11.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 97.25 kB / 0.6754 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.49e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 106.2 MB / 0.8907 GB, free: 7.426 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.898/2.1, allocations: 451.1 MB / 1.331 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/2.1, allocations: 103.6 kB / 1.331 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.071/8.171, allocations: 1.231 GB / 2.562 GB, free: 39.49 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.314e-06/8.171, allocations: 0 / 2.562 GB, free: 39.49 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0007165/8.172, allocations: 83.86 kB / 2.562 GB, free: 39.41 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.01111/8.183, allocations: 2.922 MB / 2.565 GB, free: 36.43 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/8.183, allocations: 8.031 kB / 2.565 GB, free: 36.42 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009822/8.184, allocations: 228.1 kB / 2.565 GB, free: 36.18 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00426/8.188, allocations: 0.5388 MB / 2.566 GB, free: 35.64 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01158/8.2, allocations: 3.356 MB / 2.569 GB, free: 32.23 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001309/8.201, allocations: 279.5 kB / 2.57 GB, free: 31.95 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007854/8.202, allocations: 179.4 kB / 2.57 GB, free: 31.78 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005684/8.208, allocations: 2.014 MB / 2.572 GB, free: 29.67 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.284e-05/8.208, allocations: 4 kB / 2.572 GB, free: 29.67 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/8.208, allocations: 71.94 kB / 2.572 GB, free: 29.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/8.208, allocations: 43.75 kB / 2.572 GB, free: 29.56 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005053/8.213, allocations: 1.64 MB / 2.573 GB, free: 27.91 MB / 0.9011 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.02539/8.239, allocations: 11.06 MB / 2.584 GB, free: 16.11 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/8.242, allocations: 1.698 MB / 2.586 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/8.243, allocations: 0.6623 MB / 2.586 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/8.245, allocations: 1.231 MB / 2.588 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002321/8.248, allocations: 0.7864 MB / 2.588 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002435/8.25, allocations: 178.7 kB / 2.589 GB, free: 11.14 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 1.127e-05/8.25, allocations: 4 kB / 2.589 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.005591/8.256, allocations: 1.475 MB / 2.59 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/8.256, allocations: 325.4 kB / 2.59 GB, free: 9.25 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006168/8.262, allocations: 2.221 MB / 2.593 GB, free: 7.016 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005501/8.263, allocations: 53.7 kB / 2.593 GB, free: 6.957 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001764/8.265, allocations: 1.195 MB / 2.594 GB, free: 5.75 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005968/8.265, allocations: 378.5 kB / 2.594 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/8.265, allocations: 28 kB / 2.594 GB, free: 5.348 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001287/8.266, allocations: 369.9 kB / 2.594 GB, free: 4.98 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/8.267, allocations: 0.6561 MB / 2.595 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/8.269, allocations: 1.082 MB / 2.596 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/8.271, allocations: 0.8148 MB / 2.597 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/8.271, allocations: 0 / 2.597 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005543/8.277, allocations: 2.065 MB / 2.599 GB, free: 192 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/8.278, allocations: 2.509 MB / 2.601 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-05/8.278, allocations: 11.94 kB / 2.601 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003251/8.278, allocations: 60.73 kB / 2.602 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003551/8.282, allocations: 371.4 kB / 2.602 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006284/8.283, allocations: 0.5874 MB / 2.602 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/8.287, allocations: 263.5 kB / 2.603 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005026/8.288, allocations: 75.97 kB / 2.603 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/8.288, allocations: 4 kB / 2.603 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005534/8.293, allocations: 1.817 MB / 2.605 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.41e-05/8.293, allocations: 8.422 kB / 2.605 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/8.294, allocations: 57.48 kB / 2.605 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003283/8.297, allocations: 375.5 kB / 2.605 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/8.299, allocations: 1.561 MB / 2.606 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/8.304, allocations: 235.6 kB / 2.607 GB, free: 7.914 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004729/8.304, allocations: 75.95 kB / 2.607 GB, free: 7.84 MB / 0.9167 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 (171): * Single equations (assignments): 165 * 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.0006607/8.305, allocations: 233 kB / 2.607 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008572/8.306, allocations: 264.6 kB / 2.607 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/8.312, allocations: 1.824 MB / 2.609 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/8.312, allocations: 16 kB / 2.609 GB, free: 5.496 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/8.312, allocations: 4 kB / 2.609 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003822/8.316, allocations: 1.532 MB / 2.611 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.736/9.052, allocations: 4.713 MB / 2.615 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/9.052, allocations: 2.953 kB / 2.615 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002291/9.054, allocations: 254.9 kB / 2.615 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/9.054, allocations: 52.42 kB / 2.615 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/9.055, allocations: 41.55 kB / 2.616 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000363/9.055, allocations: 0.5641 MB / 2.616 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/9.055, allocations: 4.469 kB / 2.616 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006583/9.062, allocations: 2.947 MB / 2.619 GB, free: 99.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/9.064, allocations: 0.6075 MB / 2.62 GB, free: 99.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/9.065, allocations: 32.88 kB / 2.62 GB, free: 99.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004108/9.069, allocations: 205.4 kB / 2.62 GB, free: 99.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/9.07, allocations: 84.84 kB / 2.62 GB, free: 99.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/9.07, allocations: 50.77 kB / 2.62 GB, free: 99.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004985/9.075, allocations: 1.743 MB / 2.622 GB, free: 99.44 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.363e-06/9.075, allocations: 1.625 kB / 2.622 GB, free: 99.44 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007664/9.083, allocations: 1.349 MB / 2.623 GB, free: 99.39 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (121): * Single equations (assignments): 112 * 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.01089/9.094, allocations: 5.271 MB / 2.628 GB, free: 97.28 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007891/9.102, allocations: 2.932 MB / 2.631 GB, free: 96.87 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/9.102, allocations: 3.344 kB / 2.631 GB, free: 96.87 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/9.104, allocations: 0.7814 MB / 2.632 GB, free: 96.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01218/9.116, allocations: 1.313 MB / 2.633 GB, free: 96.79 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/9.134, allocations: 4.556 MB / 2.637 GB, free: 95.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003213/9.138, allocations: 1.844 MB / 2.639 GB, free: 94.95 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.008147/9.146, allocations: 0.9045 MB / 2.64 GB, free: 94.92 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002897/9.149, allocations: 1.065 MB / 2.641 GB, free: 94.91 MB / 0.9167 GB Notification: Performance of SimCode: time 1.182e-06/9.149, allocations: 2.062 kB / 2.641 GB, free: 94.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2178/9.366, allocations: 90.1 MB / 2.729 GB, free: 91.32 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/9.367, allocations: 272.8 kB / 2.729 GB, free: 90.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/16.14, allocations: 0 / 2.729 GB, free: 90.98 MB / 0.9167 GB