Running: ./testmodel.py --libraries=/var/lib/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 (/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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.203/2.203, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 187.7 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.613/2.613, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 93.64 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004554, allocations: 12.47 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2104, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer): time 0.1326/0.3431, allocations: 86.42 MB / 0.9833 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.07458/0.4177, allocations: 20.16 MB / 1.003 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005308/0.4231, allocations: 103.1 kB / 1.003 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.02087/0.444, allocations: 1.431 MB / 1.004 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01597/0.4601, allocations: 3.437 MB / 1.008 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01852/0.4786, allocations: 4.032 MB / 1.012 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01122/0.4899, allocations: 4.261 MB / 1.016 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005467/0.4954, allocations: 2.074 MB / 1.018 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008001/0.5034, allocations: 2.3 MB / 1.02 GB, free: 4.992 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004231/0.5077, allocations: 1.45 MB / 1.022 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009902/0.5087, allocations: 108 kB / 1.022 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006617/0.5154, allocations: 1.619 MB / 1.023 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002116/0.5176, allocations: 0.5329 MB / 1.024 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002619/0.5202, allocations: 0.6992 MB / 1.024 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.5304, allocations: 4.909 MB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5305, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.096e-06/0.5305, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001807/0.5307, allocations: 0 / 1.029 GB, free: 11.64 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.01132/0.542, allocations: 3.195 MB / 1.032 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.5421, allocations: 12.03 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/0.5463, allocations: 0.5932 MB / 1.033 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009117/0.5555, allocations: 2.87 MB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001453/0.557, allocations: 279.6 kB / 1.036 GB, free: 4.559 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007656/0.5578, allocations: 187.9 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008111/0.5659, allocations: 2.24 MB / 1.038 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.567e-05/0.5661, allocations: 4 kB / 1.038 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/0.5664, allocations: 68 kB / 1.039 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.451e-05/0.5665, allocations: 40 kB / 1.039 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008559/0.5751, allocations: 1.956 MB / 1.04 GB, free: 15.96 MB / 0.698 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.02959/0.6047, allocations: 11.53 MB / 1.052 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/0.61, allocations: 2.033 MB / 1.054 GB, free: 1.449 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5773/1.187, allocations: 1.328 MB / 1.055 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008202/1.196, allocations: 0.8585 MB / 1.056 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002207/1.198, allocations: 189.1 kB / 1.056 GB, free: 146.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=118): time 8.436e-06/1.198, allocations: 0 / 1.056 GB, free: 146.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=118): time 0.02916/1.227, allocations: 2.542 MB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000174/1.227, allocations: 404.6 kB / 1.059 GB, free: 145.5 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.0219/1.249, allocations: 2.712 MB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005345/1.25, allocations: 60.98 kB / 1.062 GB, free: 145.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002554/1.252, allocations: 1.264 MB / 1.063 GB, free: 145.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009069/1.253, allocations: 411.3 kB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/1.254, allocations: 33.39 kB / 1.063 GB, free: 144.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002108/1.254, allocations: 367.3 kB / 1.064 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/1.259, allocations: 0.8718 MB / 1.064 GB, free: 144.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00574/1.264, allocations: 1.277 MB / 1.066 GB, free: 144.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0048/1.269, allocations: 1.028 MB / 1.067 GB, free: 144.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/1.269, allocations: 2.031 kB / 1.067 GB, free: 144.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.0106/1.28, allocations: 2.548 MB / 1.069 GB, free: 143.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005887/1.281, allocations: 2.624 MB / 1.072 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.644e-05/1.281, allocations: 14.31 kB / 1.072 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007057/1.281, allocations: 74.52 kB / 1.072 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/1.285, allocations: 403.8 kB / 1.072 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006462/1.286, allocations: 0.5964 MB / 1.073 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004307/1.29, allocations: 236 kB / 1.073 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000561/1.291, allocations: 74.58 kB / 1.073 GB, free: 140.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.291, allocations: 3.656 kB / 1.073 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008926/1.3, allocations: 2.277 MB / 1.075 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-05/1.3, allocations: 12.75 kB / 1.075 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/1.3, allocations: 58.73 kB / 1.075 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.304, allocations: 396 kB / 1.076 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/1.306, allocations: 1.662 MB / 1.077 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004019/1.31, allocations: 221.7 kB / 1.078 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003251/1.31, allocations: 76.5 kB / 1.078 GB, free: 138 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.002399/1.313, allocations: 0.8331 MB / 1.078 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008037/1.313, allocations: 276.1 kB / 1.079 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007387/1.321, allocations: 2.171 MB / 1.081 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/1.321, allocations: 14.78 kB / 1.081 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.321, allocations: 4.469 kB / 1.081 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005219/1.326, allocations: 1.774 MB / 1.083 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.339, allocations: 4.85 MB / 1.087 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.339, allocations: 10.48 kB / 1.087 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/1.341, allocations: 251.5 kB / 1.088 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/1.341, allocations: 38.03 kB / 1.088 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/1.342, allocations: 44.95 kB / 1.088 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003906/1.342, allocations: 0.5635 MB / 1.088 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.342, allocations: 10.62 kB / 1.088 GB, free: 132.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008771/1.351, allocations: 3.239 MB / 1.091 GB, free: 131 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.353, allocations: 0.6472 MB / 1.092 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006537/1.353, allocations: 39.83 kB / 1.092 GB, free: 130.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002954/1.356, allocations: 191.1 kB / 1.092 GB, free: 130.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/1.357, allocations: 87.69 kB / 1.092 GB, free: 130.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/1.357, allocations: 55.19 kB / 1.092 GB, free: 130.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00416/1.361, allocations: 1.85 MB / 1.094 GB, free: 129.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.361, allocations: 0 / 1.094 GB, free: 129.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006723/1.368, allocations: 1.306 MB / 1.095 GB, free: 129 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (128): * Single equations (assignments): 119 * 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.002713/1.371, allocations: 0.6413 MB / 1.096 GB, free: 128.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01591/1.387, allocations: 3.58 MB / 1.1 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.387, allocations: 0 / 1.1 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/1.389, allocations: 0.9353 MB / 1.101 GB, free: 124.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01003/1.399, allocations: 1.317 MB / 1.102 GB, free: 123.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.418, allocations: 6.478 MB / 1.108 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.42, allocations: 1.921 MB / 1.11 GB, free: 114.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004723/1.425, allocations: 0.7289 MB / 1.111 GB, free: 114 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009508/1.426, allocations: 215.4 kB / 1.111 GB, free: 113.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.426, allocations: 0 / 1.111 GB, free: 113.8 MB / 0.698 GB Notification: Performance of Templates: time 0.125/1.551, allocations: 53.21 MB / 1.163 GB, free: 61.06 MB / 0.698 GB