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.44/1.44, allocations: 252 MB / 267.6 MB, free: 10.93 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.001129/0.001129, allocations: 174.6 kB / 327.3 MB, free: 2.227 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.997/1.997, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0008986/0.0008984, allocations: 98.23 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 5.844 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer): time 0.07643/0.3326, allocations: 94.97 MB / 0.9936 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03453/0.3672, allocations: 21.48 MB / 1.015 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005502/0.3727, allocations: 111.1 kB / 1.015 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004558/0.3773, allocations: 1.036 MB / 1.016 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.3881, allocations: 2.819 MB / 1.018 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01054/0.3987, allocations: 3.094 MB / 1.021 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01291/0.4116, allocations: 7.846 MB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005451/0.4171, allocations: 1.947 MB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007448/0.4246, allocations: 2.336 MB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004716/0.4294, allocations: 1.855 MB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.4305, allocations: 107.9 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00605/0.4366, allocations: 1.711 MB / 1.037 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001677/0.4383, allocations: 0.5132 MB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002407/0.4408, allocations: 0.6485 MB / 1.038 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009758/0.4506, allocations: 4.699 MB / 1.043 GB, free: 14.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4506, allocations: 0 / 1.043 GB, free: 14.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.377e-06/0.4506, allocations: 0 / 1.043 GB, free: 14.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002069/0.4508, allocations: 0 / 1.043 GB, free: 14.37 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.01088/0.4617, allocations: 3.07 MB / 1.046 GB, free: 11.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.4618, allocations: 8.031 kB / 1.046 GB, free: 11.22 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.465, allocations: 0.5777 MB / 1.046 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007972/0.473, allocations: 2.813 MB / 1.049 GB, free: 7.762 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008343/0.4739, allocations: 271.4 kB / 1.049 GB, free: 7.496 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007667/0.4747, allocations: 172 kB / 1.049 GB, free: 7.328 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006148/0.4809, allocations: 2.107 MB / 1.051 GB, free: 5.141 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-05/0.481, allocations: 3.938 kB / 1.051 GB, free: 5.137 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003591/0.4813, allocations: 71.94 kB / 1.051 GB, free: 5.066 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.226e-05/0.4814, allocations: 43.98 kB / 1.052 GB, free: 5.023 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004868/0.4863, allocations: 1.87 MB / 1.053 GB, free: 3.148 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.5642/1.051, allocations: 10.99 MB / 1.064 GB, free: 141 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/1.053, allocations: 1.934 MB / 1.066 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/1.055, allocations: 0.7402 MB / 1.067 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/1.056, allocations: 1.341 MB / 1.068 GB, free: 138.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001662/1.058, allocations: 0.7979 MB / 1.069 GB, free: 138.6 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001675/1.059, allocations: 178.5 kB / 1.069 GB, free: 138.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=111): time 5.5e-06/1.059, allocations: 0.875 kB / 1.069 GB, free: 138.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=111): time 0.006313/1.066, allocations: 2.308 MB / 1.071 GB, free: 138.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.066, allocations: 255.5 kB / 1.071 GB, free: 138 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005973/1.072, allocations: 2.511 MB / 1.074 GB, free: 137.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005296/1.072, allocations: 54.78 kB / 1.074 GB, free: 137.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.074, allocations: 1.197 MB / 1.075 GB, free: 137.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006265/1.075, allocations: 389.5 kB / 1.075 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/1.075, allocations: 26.88 kB / 1.076 GB, free: 137.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.075, allocations: 365.3 kB / 1.076 GB, free: 136.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/1.077, allocations: 0.7777 MB / 1.077 GB, free: 136.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/1.079, allocations: 1.138 MB / 1.078 GB, free: 136.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/1.081, allocations: 0.9205 MB / 1.079 GB, free: 136.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/1.081, allocations: 1.406 kB / 1.079 GB, free: 136.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005807/1.087, allocations: 2.309 MB / 1.081 GB, free: 135.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002207/1.088, allocations: 321 kB / 1.081 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.44e-05/1.088, allocations: 11.16 kB / 1.081 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004583/1.088, allocations: 78.05 kB / 1.081 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.09, allocations: 364.5 kB / 1.082 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004421/1.09, allocations: 0.5953 MB / 1.082 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/1.093, allocations: 236.9 kB / 1.082 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002265/1.093, allocations: 71.56 kB / 1.083 GB, free: 134.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.093, allocations: 3.906 kB / 1.083 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005018/1.099, allocations: 2.053 MB / 1.085 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-05/1.099, allocations: 15.22 kB / 1.085 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/1.099, allocations: 56.38 kB / 1.085 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.1, allocations: 372.5 kB / 1.085 GB, free: 133.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/1.102, allocations: 1.582 MB / 1.086 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/1.105, allocations: 220.7 kB / 1.087 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/1.105, allocations: 66.31 kB / 1.087 GB, free: 132.1 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 (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.001962/1.107, allocations: 0.7909 MB / 1.088 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008875/1.108, allocations: 258.9 kB / 1.088 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/1.113, allocations: 2.049 MB / 1.09 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.218e-05/1.113, allocations: 12.47 kB / 1.09 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/1.113, allocations: 0 / 1.09 GB, free: 130.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003755/1.117, allocations: 1.683 MB / 1.091 GB, free: 129.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/1.128, allocations: 4.678 MB / 1.096 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.128, allocations: 8 kB / 1.096 GB, free: 126.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.129, allocations: 236.9 kB / 1.096 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/1.129, allocations: 51.67 kB / 1.096 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.129, allocations: 35.73 kB / 1.096 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003103/1.13, allocations: 0.5636 MB / 1.097 GB, free: 125.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.13, allocations: 9.797 kB / 1.097 GB, free: 125.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/1.135, allocations: 2.865 MB / 1.1 GB, free: 124.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/1.137, allocations: 0.5977 MB / 1.1 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008489/1.138, allocations: 38.25 kB / 1.1 GB, free: 123.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/1.14, allocations: 188.2 kB / 1.1 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/1.14, allocations: 84.92 kB / 1.101 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.141, allocations: 53.03 kB / 1.101 GB, free: 123.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004171/1.145, allocations: 1.76 MB / 1.102 GB, free: 122.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.145, allocations: 0 / 1.102 GB, free: 122.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006135/1.151, allocations: 1.233 MB / 1.104 GB, free: 121.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 (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.001764/1.153, allocations: 0.6072 MB / 1.104 GB, free: 121.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006627/1.159, allocations: 3.176 MB / 1.107 GB, free: 117.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.159, allocations: 0 / 1.107 GB, free: 117.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/1.161, allocations: 0.866 MB / 1.108 GB, free: 117 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008407/1.17, allocations: 1.335 MB / 1.109 GB, free: 115.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.185, allocations: 6.082 MB / 1.115 GB, free: 109.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/1.187, allocations: 1.751 MB / 1.117 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.188, allocations: 211.4 kB / 1.117 GB, free: 107.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.725e-06/1.188, allocations: 4 kB / 1.117 GB, free: 107.6 MB / 0.698 GB Notification: Performance of Templates: time 0.08765/1.276, allocations: 62.15 MB / 1.178 GB, free: 45.66 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)