Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0098/0.0098, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003389, allocations: 11.23 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer): time 0.1016/0.4289, allocations: 100.2 MB / 1.172 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03522/0.4642, allocations: 22.21 MB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005916/0.4702, allocations: 103.2 kB / 1.194 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004675/0.4749, allocations: 1.197 MB / 1.195 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01216/0.4871, allocations: 3.496 MB / 1.198 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007042/0.4941, allocations: 2.574 MB / 1.201 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01216/0.5063, allocations: 8.795 MB / 1.21 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004576/0.5109, allocations: 2.23 MB / 1.212 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006544/0.5175, allocations: 2.496 MB / 1.214 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004312/0.5218, allocations: 1.909 MB / 1.216 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006836/0.5226, allocations: 100 kB / 1.216 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004965/0.5275, allocations: 1.93 MB / 1.218 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007251/0.5283, allocations: 0.4973 MB / 1.218 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002504/0.5308, allocations: 1.423 MB / 1.22 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008415/0.5392, allocations: 5.463 MB / 1.225 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.5393, allocations: 4 kB / 1.225 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.657e-06/0.5393, allocations: 0 / 1.225 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002108/0.5395, allocations: 0 / 1.225 GB, free: 12.37 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.008273/0.5478, allocations: 2.901 MB / 1.228 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.5479, allocations: 16.02 kB / 1.228 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.5503, allocations: 0.5584 MB / 1.229 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005638/0.556, allocations: 2.814 MB / 1.231 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007771/0.5568, allocations: 258.8 kB / 1.232 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.5572, allocations: 164 kB / 1.232 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/0.5613, allocations: 1.979 MB / 1.234 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.5614, allocations: 0 / 1.234 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.5616, allocations: 64 kB / 1.234 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.5616, allocations: 39.98 kB / 1.234 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/0.5656, allocations: 1.807 MB / 1.236 GB, free: 1.562 MB / 0.9825 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.01582/0.5814, allocations: 10.78 MB / 1.246 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/0.5838, allocations: 1.306 MB / 1.247 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.5852, allocations: 0.6673 MB / 1.248 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.5866, allocations: 1.333 MB / 1.249 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.5881, allocations: 0.7358 MB / 1.25 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001245/0.5894, allocations: 168 kB / 1.25 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=98): time 3.557e-06/0.5894, allocations: 0 / 1.25 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98): time 0.5576/1.147, allocations: 2.121 MB / 1.252 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/1.147, allocations: 91.02 kB / 1.252 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004511/1.152, allocations: 2.454 MB / 1.255 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000264/1.152, allocations: 51.86 kB / 1.255 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001056/1.153, allocations: 1.145 MB / 1.256 GB, free: 173 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/1.153, allocations: 334.8 kB / 1.256 GB, free: 173 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/1.154, allocations: 123.2 kB / 1.256 GB, free: 173 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.547e-05/1.154, allocations: 359.2 kB / 1.257 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/1.155, allocations: 0.6863 MB / 1.257 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/1.157, allocations: 1.008 MB / 1.258 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/1.16, allocations: 1.614 MB / 1.26 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/1.16, allocations: 8.219 kB / 1.26 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.004482/1.165, allocations: 2.101 MB / 1.262 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/1.165, allocations: 329 kB / 1.262 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.165, allocations: 7.875 kB / 1.262 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/1.165, allocations: 95.69 kB / 1.262 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/1.167, allocations: 318.6 kB / 1.263 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003893/1.167, allocations: 0.5988 MB / 1.263 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.169, allocations: 228.4 kB / 1.263 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.169, allocations: 63.31 kB / 1.264 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/1.169, allocations: 7 kB / 1.264 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003536/1.173, allocations: 1.831 MB / 1.265 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.173, allocations: 14.2 kB / 1.265 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002146/1.173, allocations: 57.66 kB / 1.265 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/1.175, allocations: 329.1 kB / 1.266 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/1.176, allocations: 1.61 MB / 1.267 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/1.178, allocations: 214.4 kB / 1.267 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.178, allocations: 62.67 kB / 1.268 GB, free: 167.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (151): * Single equations (assignments): 147 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * 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.00126/1.18, allocations: 0.7286 MB / 1.268 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003657/1.18, allocations: 254 kB / 1.268 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/1.184, allocations: 1.856 MB / 1.27 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/1.184, allocations: 16.17 kB / 1.27 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.184, allocations: 0.5625 kB / 1.27 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002847/1.187, allocations: 1.573 MB / 1.272 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008149/1.195, allocations: 4.389 MB / 1.276 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.195, allocations: 5.031 kB / 1.276 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.196, allocations: 216.3 kB / 1.276 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/1.196, allocations: 41.33 kB / 1.276 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.683e-05/1.196, allocations: 38.67 kB / 1.276 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002596/1.196, allocations: 0.5641 MB / 1.277 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.196, allocations: 2.188 kB / 1.277 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/1.201, allocations: 2.648 MB / 1.28 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.203, allocations: 0.5817 MB / 1.28 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/1.203, allocations: 22.41 kB / 1.28 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.204, allocations: 181.9 kB / 1.28 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/1.205, allocations: 77.14 kB / 1.28 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/1.205, allocations: 53.16 kB / 1.28 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002895/1.208, allocations: 1.715 MB / 1.282 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.208, allocations: 1.156 kB / 1.282 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003369/1.211, allocations: 1.151 MB / 1.283 GB, free: 160.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (WSE.heaExc.thrWayVal.vol.dynBal.U,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 (109): * Single equations (assignments): 100 * 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.001114/1.212, allocations: 0.5915 MB / 1.284 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005463/1.218, allocations: 2.766 MB / 1.287 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/1.218, allocations: 1 kB / 1.287 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.219, allocations: 0.7928 MB / 1.287 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007673/1.227, allocations: 1.303 MB / 1.289 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.238, allocations: 5.832 MB / 1.294 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/1.239, allocations: 1.707 MB / 1.296 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003204/1.243, allocations: 0.6249 MB / 1.297 GB, free: 154 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/1.243, allocations: 195.5 kB / 1.297 GB, free: 154 MB / 0.9981 GB Notification: Performance of SimCode: time 7.12e-07/1.243, allocations: 5.75 kB / 1.297 GB, free: 154 MB / 0.9981 GB Notification: Performance of Templates: time 0.07021/1.313, allocations: 50.16 MB / 1.346 GB, free: 111.5 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.makefile (rm -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; mkfifo Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe >> ../files/Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.sim & ./Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.pipe 2>&1)