Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.507/2.507, allocations: 287.9 MB / 302.9 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001431, allocations: 183 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 92.36 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009609/0.0009615, allocations: 15.5 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.172, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer): time 0.113/0.2851, allocations: 86.45 MB / 1.063 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.6437/0.9288, allocations: 20.16 MB / 1.083 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004563/0.9334, allocations: 104.1 kB / 1.083 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005372/0.9388, allocations: 1.431 MB / 1.084 GB, free: 19.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.9523, allocations: 3.404 MB / 1.088 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0161/0.9685, allocations: 4.129 MB / 1.092 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009453/0.9779, allocations: 4.251 MB / 1.096 GB, free: 18.98 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004361/0.9823, allocations: 2.069 MB / 1.098 GB, free: 18.71 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00637/0.9888, allocations: 2.341 MB / 1.1 GB, free: 18.7 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00353/0.9923, allocations: 1.452 MB / 1.102 GB, free: 18.69 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007491/0.9931, allocations: 106.8 kB / 1.102 GB, free: 18.69 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006099/0.9992, allocations: 1.613 MB / 1.103 GB, free: 18.69 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/1.001, allocations: 0.5354 MB / 1.104 GB, free: 18.69 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00188/1.002, allocations: 0.6942 MB / 1.104 GB, free: 18.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008257/1.011, allocations: 4.927 MB / 1.109 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.371e-06/1.011, allocations: 0 / 1.109 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.28e-06/1.011, allocations: 0 / 1.109 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001254/1.011, allocations: 0 / 1.109 GB, free: 18.38 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 416 * Number of variables: 416 Notification: Performance of Generate backend data structure: time 0.00856/1.02, allocations: 3.194 MB / 1.112 GB, free: 16.74 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.02, allocations: 13.64 kB / 1.112 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003056/1.023, allocations: 0.5955 MB / 1.113 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006506/1.029, allocations: 2.869 MB / 1.116 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000934/1.03, allocations: 279.9 kB / 1.116 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005621/1.031, allocations: 185.9 kB / 1.116 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005685/1.036, allocations: 2.249 MB / 1.118 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/1.037, allocations: 0 / 1.118 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/1.037, allocations: 67.66 kB / 1.119 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.482e-05/1.037, allocations: 45.3 kB / 1.119 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006202/1.043, allocations: 1.968 MB / 1.12 GB, free: 14.93 MB / 0.6823 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.02075/1.064, allocations: 11.65 MB / 1.132 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/1.067, allocations: 1.515 MB / 1.133 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/1.069, allocations: 1.337 MB / 1.135 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002374/1.071, allocations: 0.8549 MB / 1.135 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001653/1.073, allocations: 191.1 kB / 1.136 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=114): time 6.635e-06/1.073, allocations: 1.031 kB / 1.136 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of matching and sorting (n=114): time 0.007641/1.081, allocations: 2.511 MB / 1.138 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.081, allocations: 405.4 kB / 1.138 GB, free: 3.699 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter WSE.heaExc.thrWayVal.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter WSE.heaExc.thrWayVal.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter WSE.heaExc.thrWayVal.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter WSE.heaExc.thrWayVal.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007008/1.088, allocations: 2.725 MB / 1.141 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004494/1.088, allocations: 58.11 kB / 1.141 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.09, allocations: 1.276 MB / 1.142 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006515/1.091, allocations: 396.8 kB / 1.143 GB, free: 0.7383 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/1.091, allocations: 30.25 kB / 1.143 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001637/1.091, allocations: 369.7 kB / 1.143 GB, free: 372 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/1.094, allocations: 0.8692 MB / 1.144 GB, free: 15.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003532/1.097, allocations: 1.298 MB / 1.145 GB, free: 14.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/1.1, allocations: 1.031 MB / 1.146 GB, free: 14.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/1.101, allocations: 2.719 kB / 1.146 GB, free: 14.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.008181/1.109, allocations: 2.561 MB / 1.149 GB, free: 13.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001696/1.11, allocations: 3.002 MB / 1.152 GB, free: 9.977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.037e-05/1.111, allocations: 20.62 kB / 1.152 GB, free: 9.969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/1.111, allocations: 82.77 kB / 1.152 GB, free: 9.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/1.114, allocations: 400.7 kB / 1.152 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006742/1.114, allocations: 0.5933 MB / 1.153 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/1.118, allocations: 239 kB / 1.153 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/1.118, allocations: 76.83 kB / 1.153 GB, free: 9.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.118, allocations: 4.969 kB / 1.153 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006555/1.125, allocations: 2.29 MB / 1.155 GB, free: 7.992 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.966e-05/1.125, allocations: 13.34 kB / 1.155 GB, free: 7.988 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/1.125, allocations: 63.17 kB / 1.155 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/1.128, allocations: 399.7 kB / 1.156 GB, free: 7.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.13, allocations: 1.651 MB / 1.157 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/1.133, allocations: 227.9 kB / 1.158 GB, free: 6.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004175/1.134, allocations: 75.48 kB / 1.158 GB, free: 6.094 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (186): * Single equations (assignments): 174 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * 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.002429/1.136, allocations: 0.8482 MB / 1.159 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008444/1.137, allocations: 276 kB / 1.159 GB, free: 5.336 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006167/1.143, allocations: 2.113 MB / 1.161 GB, free: 4.176 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/1.143, allocations: 16.59 kB / 1.161 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.576e-06/1.143, allocations: 0 / 1.161 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004643/1.148, allocations: 1.767 MB / 1.163 GB, free: 3.137 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/1.161, allocations: 4.773 MB / 1.167 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.161, allocations: 7.078 kB / 1.167 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/1.162, allocations: 243.9 kB / 1.168 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002012/1.162, allocations: 45.12 kB / 1.168 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/1.163, allocations: 43.05 kB / 1.168 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005402/1.163, allocations: 0.5611 MB / 1.168 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.409e-06/1.163, allocations: 4.062 kB / 1.168 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008082/1.171, allocations: 3.139 MB / 1.171 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.174, allocations: 0.6378 MB / 1.172 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007589/1.174, allocations: 40 kB / 1.172 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/1.177, allocations: 194.6 kB / 1.172 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/1.178, allocations: 84.84 kB / 1.172 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.178, allocations: 51.95 kB / 1.172 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004886/1.183, allocations: 1.855 MB / 1.174 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.201e-06/1.183, allocations: 0 / 1.174 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006596/1.189, allocations: 1.312 MB / 1.175 GB, free: 8.426 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (WSE.filter[1].x[1],WSE.filter[1].x[2],WSE.heaExc.thrWayVal.res1.filter.x[1],WSE.heaExc.thrWayVal.res1.filter.x[2],WSE.heaExc.thrWayVal.res3.filter.x[1],WSE.heaExc.thrWayVal.res3.filter.x[2],WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.x[1],WSE.heaExc.thrWayVal.filter.x[2],WSE.heaExc.con.I.y,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 (125): * Single equations (assignments): 116 * 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.001883/1.191, allocations: 0.6471 MB / 1.176 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009659/1.201, allocations: 3.579 MB / 1.179 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.201, allocations: 0 / 1.179 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002544/1.204, allocations: 0.9264 MB / 1.18 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007769/1.211, allocations: 1.299 MB / 1.182 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.229, allocations: 6.476 MB / 1.188 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002736/1.232, allocations: 1.921 MB / 1.19 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004689/1.237, allocations: 0.7297 MB / 1.191 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.238, allocations: 214.1 kB / 1.191 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of SimCode: time 1.555e-06/1.238, allocations: 3.938 kB / 1.191 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of Templates: time 0.1332/1.371, allocations: 53.23 MB / 1.243 GB, free: 3.957 MB / 0.7761 GB