Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 177.1 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 0.5786 GB, free: 20.39 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.0008198/0.0008201, allocations: 99.52 kB / 0.6832 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003353, allocations: 14.25 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1937, allocations: 106.3 MB / 0.9015 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer): time 0.08267/0.2765, allocations: 100.5 MB / 0.9996 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03221/0.3087, allocations: 22.96 MB / 1.022 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005354/0.3141, allocations: 111.1 kB / 1.022 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004866/0.319, allocations: 1.286 MB / 1.023 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.3302, allocations: 3.46 MB / 1.027 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.3409, allocations: 3.907 MB / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01139/0.3523, allocations: 9.03 MB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004956/0.3572, allocations: 2.304 MB / 1.042 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006397/0.3637, allocations: 2.546 MB / 1.044 GB, free: 13.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003974/0.3677, allocations: 1.967 MB / 1.046 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009401/0.3687, allocations: 104 kB / 1.046 GB, free: 11.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005457/0.3741, allocations: 2.066 MB / 1.048 GB, free: 9.148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.3754, allocations: 0.5324 MB / 1.049 GB, free: 8.613 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.3787, allocations: 1.478 MB / 1.05 GB, free: 7.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006832/0.3856, allocations: 4.777 MB / 1.055 GB, free: 2.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3856, allocations: 0 / 1.055 GB, free: 2.332 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3856, allocations: 0 / 1.055 GB, free: 2.332 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001782/0.3858, allocations: 0 / 1.055 GB, free: 2.332 MB / 0.698 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.3967/0.7825, allocations: 3.041 MB / 1.058 GB, free: 147.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.7825, allocations: 11.59 kB / 1.058 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/0.785, allocations: 0.5743 MB / 1.058 GB, free: 147.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005014/0.79, allocations: 2.914 MB / 1.061 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008458/0.7909, allocations: 265.7 kB / 1.061 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004253/0.7913, allocations: 175 kB / 1.062 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004535/0.7959, allocations: 2.124 MB / 1.064 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.7959, allocations: 6.469 kB / 1.064 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.7961, allocations: 63.5 kB / 1.064 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.7962, allocations: 40.42 kB / 1.064 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004002/0.8002, allocations: 1.891 MB / 1.066 GB, free: 146.8 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.0174/0.8176, allocations: 10.99 MB / 1.076 GB, free: 141 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.8203, allocations: 1.941 MB / 1.078 GB, free: 139.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.8217, allocations: 0.7437 MB / 1.079 GB, free: 139.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.8229, allocations: 1.338 MB / 1.08 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001511/0.8244, allocations: 0.8139 MB / 1.081 GB, free: 137.7 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001472/0.8259, allocations: 177.4 kB / 1.081 GB, free: 137.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=111): time 4.528e-06/0.8259, allocations: 0 / 1.081 GB, free: 137.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.00482/0.8308, allocations: 2.313 MB / 1.083 GB, free: 136.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.8309, allocations: 250.1 kB / 1.084 GB, free: 136.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003979/0.8348, allocations: 2.544 MB / 1.086 GB, free: 134.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.835, allocations: 58.14 kB / 1.086 GB, free: 134.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.8361, allocations: 1.196 MB / 1.087 GB, free: 133.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.8364, allocations: 386.8 kB / 1.088 GB, free: 133.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/0.8365, allocations: 27.89 kB / 1.088 GB, free: 133.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8366, allocations: 368.4 kB / 1.088 GB, free: 133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.8383, allocations: 0.792 MB / 1.089 GB, free: 132.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.8399, allocations: 1.163 MB / 1.09 GB, free: 131.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.8427, allocations: 1.808 MB / 1.092 GB, free: 130.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.8427, allocations: 2.656 kB / 1.092 GB, free: 130.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005429/0.8481, allocations: 2.362 MB / 1.094 GB, free: 129.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.8483, allocations: 308.2 kB / 1.094 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-05/0.8483, allocations: 11.33 kB / 1.094 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004203/0.8487, allocations: 93.72 kB / 1.095 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.8504, allocations: 364.8 kB / 1.095 GB, free: 129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003395/0.8508, allocations: 0.6024 MB / 1.095 GB, free: 128.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.8532, allocations: 229.8 kB / 1.096 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.8534, allocations: 71.69 kB / 1.096 GB, free: 128.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/0.8534, allocations: 3.969 kB / 1.096 GB, free: 128.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003419/0.8568, allocations: 2.064 MB / 1.098 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.8569, allocations: 11.75 kB / 1.098 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.857, allocations: 56.88 kB / 1.098 GB, free: 127.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.8585, allocations: 365.6 kB / 1.098 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.8596, allocations: 1.59 MB / 1.1 GB, free: 125.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/0.8618, allocations: 219 kB / 1.1 GB, free: 125.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.862, allocations: 69.3 kB / 1.1 GB, free: 125.5 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 (171): * Single equations (assignments): 163 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001536/0.8635, allocations: 0.7792 MB / 1.101 GB, free: 124.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005768/0.8641, allocations: 258.8 kB / 1.101 GB, free: 124.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.8678, allocations: 2.056 MB / 1.103 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.8678, allocations: 12 kB / 1.103 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.8678, allocations: 0 / 1.103 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002465/0.8703, allocations: 1.694 MB / 1.105 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007388/0.8777, allocations: 4.689 MB / 1.109 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.8777, allocations: 4 kB / 1.109 GB, free: 116.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.8787, allocations: 240 kB / 1.11 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.8789, allocations: 45.39 kB / 1.11 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.879, allocations: 39.73 kB / 1.11 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002414/0.8792, allocations: 0.568 MB / 1.11 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.8793, allocations: 8.062 kB / 1.11 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/0.8834, allocations: 2.877 MB / 1.113 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.8845, allocations: 0.5988 MB / 1.114 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/0.8848, allocations: 39.94 kB / 1.114 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.8863, allocations: 182 kB / 1.114 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.8865, allocations: 92.77 kB / 1.114 GB, free: 111.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.8866, allocations: 51.97 kB / 1.114 GB, free: 111.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002235/0.8889, allocations: 1.781 MB / 1.116 GB, free: 109.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8889, allocations: 0 / 1.116 GB, free: 109.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002929/0.8918, allocations: 1.235 MB / 1.117 GB, free: 108.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (WSE.filter[1].x[1],WSE.filter[1].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 (121): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.8928, allocations: 0.6212 MB / 1.117 GB, free: 108.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004942/0.8978, allocations: 3.211 MB / 1.121 GB, free: 104.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8978, allocations: 0 / 1.121 GB, free: 104.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.8991, allocations: 0.8573 MB / 1.121 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006948/0.906, allocations: 1.373 MB / 1.123 GB, free: 102.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009613/0.9157, allocations: 6.261 MB / 1.129 GB, free: 96.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009269/0.9166, allocations: 1.744 MB / 1.131 GB, free: 94.53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007142/0.9173, allocations: 223.3 kB / 1.131 GB, free: 94.31 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/0.9174, allocations: 0 / 1.131 GB, free: 94.31 MB / 0.698 GB Notification: Performance of Templates: time 0.0672/0.9846, allocations: 62.13 MB / 1.191 GB, free: 32.43 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)