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.413/1.413, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.001062/0.001062, allocations: 176.2 kB / 326.5 MB, free: 2.695 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.661/1.661, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008714/0.0008713, allocations: 88.3 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 9.125 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2014, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer): time 0.08106/0.2825, allocations: 101.8 MB / 0.9962 GB, free: 14 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03265/0.3152, allocations: 23.19 MB / 1.019 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004934/0.3202, allocations: 123.1 kB / 1.019 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00438/0.3246, allocations: 1.282 MB / 1.02 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.335, allocations: 3.466 MB / 1.024 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009798/0.3448, allocations: 3.902 MB / 1.027 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0106/0.3554, allocations: 9.022 MB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004555/0.36, allocations: 2.292 MB / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005941/0.3659, allocations: 2.546 MB / 1.041 GB, free: 56 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/0.3696, allocations: 1.983 MB / 1.043 GB, free: 14.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008044/0.3705, allocations: 100 kB / 1.043 GB, free: 13.96 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00516/0.3756, allocations: 2.051 MB / 1.045 GB, free: 11.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.3767, allocations: 0.5402 MB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002922/0.3797, allocations: 1.453 MB / 1.047 GB, free: 9.906 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.3861, allocations: 4.785 MB / 1.052 GB, free: 5.109 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3862, allocations: 0 / 1.052 GB, free: 5.109 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3862, allocations: 0 / 1.052 GB, free: 5.109 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001798/0.3864, allocations: 0 / 1.052 GB, free: 5.109 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.007299/0.3937, allocations: 3.043 MB / 1.055 GB, free: 1.996 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3937, allocations: 8.031 kB / 1.055 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/0.3963, allocations: 0.5699 MB / 1.055 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3966/0.7929, allocations: 2.915 MB / 1.058 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007238/0.7937, allocations: 265.3 kB / 1.058 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/0.7941, allocations: 176.9 kB / 1.058 GB, free: 151.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.7979, allocations: 2.118 MB / 1.06 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.798, allocations: 3.938 kB / 1.06 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.7981, allocations: 65.81 kB / 1.061 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.029e-05/0.7982, allocations: 44.88 kB / 1.061 GB, free: 151.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0039/0.8021, allocations: 1.885 MB / 1.062 GB, free: 151 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.01702/0.8191, allocations: 10.99 MB / 1.073 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002734/0.8219, allocations: 1.934 MB / 1.075 GB, free: 143.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.8233, allocations: 0.7463 MB / 1.076 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.8245, allocations: 1.34 MB / 1.077 GB, free: 141.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001494/0.826, allocations: 0.8057 MB / 1.078 GB, free: 141.2 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001384/0.8274, allocations: 178 kB / 1.078 GB, free: 141.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=111): time 4.218e-06/0.8275, allocations: 1.562 kB / 1.078 GB, free: 141.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.0052/0.8327, allocations: 2.315 MB / 1.08 GB, free: 140.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.8328, allocations: 249.5 kB / 1.081 GB, free: 139.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004019/0.8368, allocations: 2.544 MB / 1.083 GB, free: 138.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002612/0.8371, allocations: 55.17 kB / 1.083 GB, free: 138.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009631/0.8381, allocations: 1.197 MB / 1.084 GB, free: 137.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.8384, allocations: 380.9 kB / 1.085 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.8385, allocations: 141.4 kB / 1.085 GB, free: 137.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.8386, allocations: 309.1 kB / 1.085 GB, free: 136.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.8401, allocations: 0.7996 MB / 1.086 GB, free: 136.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.8418, allocations: 1.157 MB / 1.087 GB, free: 135.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/0.8446, allocations: 1.805 MB / 1.089 GB, free: 134.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.8446, allocations: 3.969 kB / 1.089 GB, free: 134.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005524/0.8501, allocations: 2.357 MB / 1.091 GB, free: 133.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/0.8503, allocations: 314.4 kB / 1.091 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/0.8504, allocations: 12.02 kB / 1.091 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.8508, allocations: 75.56 kB / 1.091 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.8524, allocations: 378.5 kB / 1.092 GB, free: 132.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003313/0.8527, allocations: 0.6013 MB / 1.092 GB, free: 132.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.8551, allocations: 224.9 kB / 1.093 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.8552, allocations: 71.39 kB / 1.093 GB, free: 132.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.8552, allocations: 3.938 kB / 1.093 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003469/0.8587, allocations: 2.072 MB / 1.095 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.8587, allocations: 11.81 kB / 1.095 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.8589, allocations: 57.48 kB / 1.095 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.8603, allocations: 362.6 kB / 1.095 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.8613, allocations: 1.582 MB / 1.097 GB, free: 129.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.8635, allocations: 218.2 kB / 1.097 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.8637, allocations: 68.31 kB / 1.097 GB, free: 129.4 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 (TCon_in.nextEventScaled,TCon_in.nextEvent,$PRE.TCon_in.nextEvent,TCon_in.last,TCon_in.b,TCon_in.a,WSE.on[1],$whenCondition1,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.001356/0.865, allocations: 0.7854 MB / 1.098 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.8655, allocations: 272 kB / 1.098 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003491/0.869, allocations: 2.046 MB / 1.1 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.8691, allocations: 20 kB / 1.1 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.8691, allocations: 0 / 1.1 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002331/0.8714, allocations: 1.698 MB / 1.102 GB, free: 125.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007709/0.8791, allocations: 4.687 MB / 1.106 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.8792, allocations: 0 / 1.106 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.8803, allocations: 240 kB / 1.106 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.8804, allocations: 44.78 kB / 1.106 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.8806, allocations: 39.97 kB / 1.106 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002848/0.8809, allocations: 0.568 MB / 1.107 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.8809, allocations: 4 kB / 1.107 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/0.886, allocations: 2.879 MB / 1.11 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001738/0.8877, allocations: 0.5677 MB / 1.11 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008757/0.8886, allocations: 31.98 kB / 1.11 GB, free: 116.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002005/0.8906, allocations: 188.9 kB / 1.111 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.8908, allocations: 88.83 kB / 1.111 GB, free: 116.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.891, allocations: 47.97 kB / 1.111 GB, free: 116.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003159/0.8941, allocations: 1.785 MB / 1.112 GB, free: 114.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8941, allocations: 0 / 1.112 GB, free: 114.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004233/0.8984, allocations: 1.235 MB / 1.114 GB, free: 113.1 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.001362/0.8998, allocations: 0.6405 MB / 1.114 GB, free: 112.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005545/0.9053, allocations: 3.195 MB / 1.117 GB, free: 109.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.9054, allocations: 8.062 kB / 1.117 GB, free: 109.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.9068, allocations: 0.8606 MB / 1.118 GB, free: 108.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007805/0.9146, allocations: 1.372 MB / 1.12 GB, free: 107.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.926, allocations: 6.179 MB / 1.126 GB, free: 100.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001405/0.9275, allocations: 1.74 MB / 1.127 GB, free: 99.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009414/0.9284, allocations: 215.4 kB / 1.128 GB, free: 98.85 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.9284, allocations: 0 / 1.128 GB, free: 98.85 MB / 0.698 GB Notification: Performance of Templates: time 0.06653/0.995, allocations: 62.14 MB / 1.188 GB, free: 36.96 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)